Skip to content

Commit

Permalink
fixes failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
garethellis36 committed Oct 1, 2016
1 parent 96ca33f commit b9b51b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/View/CellTest.php
Expand Up @@ -365,7 +365,7 @@ public function testCachedRenderSimple()
->will($this->returnValue(false));
$mock->expects($this->once())
->method('write')
->with('cell_test_app_view_cell_articles_cell_display', "dummy\n");
->with('cell_test_app_view_cell_articles_cell_display_default', "dummy\n");
Cache::config('default', $mock);

$cell = $this->View->cell('Articles', [], ['cache' => true]);
Expand Down Expand Up @@ -435,7 +435,7 @@ public function testCachedRenderSimpleCustomTemplate()
->will($this->returnValue(false));
$mock->expects($this->once())
->method('write')
->with('cell_test_app_view_cell_articles_cell_customTemplate', "<h1>This is the alternate template</h1>\n");
->with('cell_test_app_view_cell_articles_cell_customTemplate_default', "<h1>This is the alternate template</h1>\n");
Cache::config('default', $mock);

$cell = $this->View->cell('Articles::customTemplate', [], ['cache' => true]);
Expand Down

0 comments on commit b9b51b7

Please sign in to comment.