Moving more vendors/shells into console dirs.

This commit is contained in:
mark_story 2010-10-17 16:16:20 -04:00
parent 5737cf7877
commit 14820fe03f
10 changed files with 2 additions and 3 deletions

View file

@ -48,7 +48,6 @@ class TemplateTaskTest extends CakeTestCase {
array('in', 'err', 'createFile', '_stop', 'clear'), array('in', 'err', 'createFile', '_stop', 'clear'),
array(&$this->Dispatcher, $out, $out, $in) array(&$this->Dispatcher, $out, $out, $in)
); );
$this->Task->Dispatch->shellPaths = App::path('shells');
} }
/** /**
@ -130,7 +129,7 @@ class TemplateTaskTest extends CakeTestCase {
public function testGenerate() { public function testGenerate() {
App::build(array( App::build(array(
'shells' => array( 'shells' => array(
TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'vendors' . DS . 'shells' . DS TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'console' . DS
) )
)); ));
$this->Task->initialize(); $this->Task->initialize();
@ -150,7 +149,7 @@ class TemplateTaskTest extends CakeTestCase {
public function testGenerateWithTemplateFallbacks() { public function testGenerateWithTemplateFallbacks() {
App::build(array( App::build(array(
'shells' => array( 'shells' => array(
TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'vendors' . DS . 'shells' . DS, TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'console' . DS,
CAKE_CORE_INCLUDE_PATH . DS . 'console' . DS CAKE_CORE_INCLUDE_PATH . DS . 'console' . DS
) )
)); ));