diff --git a/tests/TestCase/Console/Command/Task/ViewTaskTest.php b/tests/TestCase/Console/Command/Task/ViewTaskTest.php index aefc473694f..e62f496f967 100644 --- a/tests/TestCase/Console/Command/Task/ViewTaskTest.php +++ b/tests/TestCase/Console/Command/Task/ViewTaskTest.php @@ -125,7 +125,7 @@ protected function _setupTask($methods) { $this->Task->Model = $this->getMock('Cake\Console\Command\Task\ModelTask', [], [$io]); $this->Task->Template->params['theme'] = 'default'; - $this->Task->Template->templatePaths = ['default' => CAKE . 'Console/Templates/default/']; + $this->Task->Template->templatePaths = ['default' => CAKE . 'Template/Bake/default/']; } /** @@ -707,7 +707,7 @@ public function testGetTemplatePrefixed() { $this->assertEquals('form', $result); $this->Task->Template->templatePaths = array( - 'test' => CORE_TESTS . '/test_app/TestApp/Console/Templates/test/' + 'test' => CORE_TESTS . '/test_app/TestApp/Template/Bake/test/' ); $this->Task->Template->params['theme'] = 'test'; diff --git a/tests/TestCase/Utility/FolderTest.php b/tests/TestCase/Utility/FolderTest.php index f7aabae1a9d..246030fbe6a 100644 --- a/tests/TestCase/Utility/FolderTest.php +++ b/tests/TestCase/Utility/FolderTest.php @@ -180,7 +180,7 @@ public function testRecursiveCreateFailure() { * @return void */ public function testOperations() { - $path = CAKE . 'Console/Templates'; + $path = CAKE . 'Template/Bake'; $Folder = new Folder($path); $result = is_dir($Folder->pwd());