Fixing failing test caused by setting an expiry value outside of the PECL extensions limits.

This commit is contained in:
mark_story 2010-10-24 00:05:27 -04:00
parent deb20d4cf2
commit 155bfe6293

View file

@ -240,7 +240,7 @@ class MemcacheEngineTest extends CakeTestCase {
$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);