mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing failing tests.
This commit is contained in:
parent
44a8d7907e
commit
c5c2859800
1 changed files with 6 additions and 2 deletions
|
@ -550,7 +550,9 @@ class CacheHelperTest extends CakeTestCase {
|
|||
|
||||
$Cache = $this->getMock('CacheHelper', array('cache'), array($View));
|
||||
$Cache->expects($this->once())->method('cache')
|
||||
->with('posts/index', $View->output, false);
|
||||
->with('posts/index', $View->output, false)
|
||||
->will($this->returnValue(''));
|
||||
|
||||
$Cache->afterRender('posts/index');
|
||||
|
||||
Configure::write('Cache.check', false);
|
||||
|
@ -574,7 +576,9 @@ class CacheHelperTest extends CakeTestCase {
|
|||
|
||||
$Cache = $this->getMock('CacheHelper', array('cache'), array($View));
|
||||
$Cache->expects($this->once())->method('cache')
|
||||
->with('posts/index', $View->output, true);
|
||||
->with('posts/index', $View->output, true)
|
||||
->will($this->returnValue(''));
|
||||
|
||||
$Cache->afterLayout('posts/index');
|
||||
|
||||
Configure::write('Cache.check', false);
|
||||
|
|
Loading…
Reference in a new issue