Skip to content

Commit

Permalink
Stub setcookie() for CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvermeyen committed Mar 28, 2015
1 parent a0b955e commit f43d30b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/VanillaCookieCoreSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ function it_returns_true_if_you_delete_a_cookie_that_does_not_exist()
$this->delete(self::$cookieName)->shouldReturn(true);
}
}

namespace CodeZero\Cookie;

function setcookie() { return true; }

0 comments on commit f43d30b

Please sign in to comment.