Navigation Menu

Skip to content

Commit

Permalink
Fix failing tests.
Browse files Browse the repository at this point in the history
I'm dumb and left off required arguments.
  • Loading branch information
markstory committed Jul 5, 2013
1 parent a0ce683 commit c7432af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/TestCase/View/Helper/CacheHelperTest.php
Expand Up @@ -547,7 +547,7 @@ public function testAfterRenderConditions() {
->with('posts/index', 'content')
->will($this->returnValue(''));

$event = $this->getMock('Cake\Event\Event');
$event = $this->getMock('Cake\Event\Event', [], ['View.afterRenderFile']);
$Cache->afterRenderFile($event, 'posts/index', 'content');
}

Expand All @@ -568,7 +568,7 @@ public function testAfterLayoutConditions() {
->with('posts/index', $View->fetch('content'))
->will($this->returnValue(''));

$event = $this->getMock('Cake\Event\Event');
$event = $this->getMock('Cake\Event\Event', [], ['View.afterLayout']);
$Cache->afterLayout($event, 'posts/index');

Configure::write('Cache.check', false);
Expand Down

0 comments on commit c7432af

Please sign in to comment.