Skip to content
Permalink
Browse files

fixes failing tests

  • Loading branch information...
garethellis36 committed Oct 1, 2016
1 parent 96ca33f commit b9b51b747038b1d95881c13a74dbda5a2abdb362
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/View/CellTest.php
@@ -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]);
@@ -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]);

0 comments on commit b9b51b7

Please sign in to comment.
You can’t perform that action at this time.