Browse Source

Update tests.

ADmad 11 years ago
parent
commit
bf766e2238

+ 2 - 2
tests/TestCase/Console/Command/Task/ViewTaskTest.php

@@ -125,7 +125,7 @@ class ViewTaskTest extends TestCase {
 		$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 @@ class ViewTaskTest extends TestCase {
 		$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';
 

+ 1 - 1
tests/TestCase/Utility/FolderTest.php

@@ -180,7 +180,7 @@ class FolderTest extends TestCase {
  * @return void
  */
 	public function testOperations() {
-		$path = CAKE . 'Console/Templates';
+		$path = CAKE . 'Template/Bake';
 		$Folder = new Folder($path);
 
 		$result = is_dir($Folder->pwd());