Skip to content

Commit

Permalink
[*]: add one more test for the "ArrayCache"-Adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Mar 13, 2017
1 parent d0db0e5 commit 6f3b92b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ArrayCacheTest.php
Expand Up @@ -119,6 +119,11 @@ public function testSetGetCacheWithEndDateTime()

$return = $this->cache->getItem('testSetGetCacheWithEndDateTime');
self::assertSame(array(3, 2, 1), $return);

sleep(4);

$return = $this->cache->getItem('testSetGetCacheWithEndDateTime');
self::assertSame(null, $return);
}

/**
Expand Down

0 comments on commit 6f3b92b

Please sign in to comment.