Skip to content

Commit

Permalink
add file cache
Browse files Browse the repository at this point in the history
  • Loading branch information
white-poto committed Jun 22, 2016
1 parent 4584a7f commit 823283a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FileCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function testCache($path, $key, $value) {
$this->assertTrue(file_exists($path));
$this->assertTrue($cache->set($key, $value, 1));
$this->assertEquals($cache->get($key), $value);
sleep(1);
sleep(2);
$this->assertNull($cache->get($key));
$this->assertTrue($cache->set($key, $value));
$this->assertTrue($cache->delete($key));
Expand Down

0 comments on commit 823283a

Please sign in to comment.