Browse Source

fixes failing tests

Gareth Ellis 9 years ago
parent
commit
b9b51b7470
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/View/CellTest.php

+ 2 - 2
tests/TestCase/View/CellTest.php

@@ -365,7 +365,7 @@ class CellTest extends TestCase
             ->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 @@ class CellTest extends TestCase
             ->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]);