Skip to content

Commit f43d30b

Browse files
committed
Stub setcookie() for CI testing
1 parent a0b955e commit f43d30b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

spec/VanillaCookieCoreSpec.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ function it_returns_true_if_you_delete_a_cookie_that_does_not_exist()
4848
$this->delete(self::$cookieName)->shouldReturn(true);
4949
}
5050
}
51+
52+
namespace CodeZero\Cookie;
53+
54+
function setcookie() { return true; }

0 commit comments

Comments
 (0)