Skip to content

Commit

Permalink
Fixing failing test caused by setting an expiry value outside of the …
Browse files Browse the repository at this point in the history
…PECL extensions limits.
  • Loading branch information
markstory committed Oct 24, 2010
1 parent deb20d4 commit 155bfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/cache/memcache.test.php
Expand Up @@ -240,7 +240,7 @@ function testExpiry() {
$result = Cache::read('other_test');
$this->assertFalse($result);

Cache::config('memcache', array('duration' => '+30 day'));
Cache::config('memcache', array('duration' => '+29 days'));
$data = 'this is a test of the emergency broadcasting system';
$result = Cache::write('long_expiry_test', $data);
$this->assertTrue($result);
Expand Down

0 comments on commit 155bfe6

Please sign in to comment.