Skip to content

Commit

Permalink
Fixing bad test, Refs #3722
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Feb 10, 2011
1 parent 100b124 commit f8d2c7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/kohana/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,19 +290,19 @@ public function provider_set_cache()
array('private' => NULL, 's-maxage' => '100'),
TRUE
),
array( // We can cache things that expired yesterday (should not be able to?)
array(
array(
'expires' => date('m/d/Y', strtotime('-1 day')),
),
array(),
TRUE
FALSE
),
array( // We can't cache things that expires tomorrow (should be able to?)
array(
array(
'expires' => date('m/d/Y', strtotime('+1 day')),
),
array(),
FALSE
TRUE
),
array(
array(),
Expand Down

0 comments on commit f8d2c7f

Please sign in to comment.