Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 3, 2014
1 parent 3f3cfd2 commit bf766e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Console/Command/Task/ViewTaskTest.php
Expand Up @@ -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/'];
}

/**
Expand Down Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Utility/FolderTest.php
Expand Up @@ -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());
Expand Down

0 comments on commit bf766e2

Please sign in to comment.