mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing failing test caused by setting an expiry value outside of the PECL extensions limits.
This commit is contained in:
parent
deb20d4cf2
commit
155bfe6293
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue