Permalink
Browse files

Fixing failing test caused by setting an expiry value outside of the …

…PECL extensions limits.
  • Loading branch information...
1 parent deb20d4 commit 155bfe62939e4688de7c6e21502784fa6d2aeae8 @markstory markstory committed Oct 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/cache/memcache.test.php
View
2 cake/tests/cases/libs/cache/memcache.test.php
@@ -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);

0 comments on commit 155bfe6

Please sign in to comment.