Browse Source

Cleanup after removing DbConfigTask.

mark_story 12 years ago
parent
commit
8ae917f8a6

+ 2 - 2
tests/TestCase/Console/Command/CompletionShellTest.php

@@ -164,7 +164,7 @@ class CompletionShellTest extends TestCase {
 		$this->Shell->runCommand('subCommands', array('subCommands', 'CORE.bake'));
 		$output = $this->Shell->stdout->output;
 
-		$expected = "controller db_config fixture model plugin project test view\n";
+		$expected = "controller fixture model plugin project test view\n";
 		$this->assertEquals($expected, $output);
 	}
 
@@ -229,7 +229,7 @@ class CompletionShellTest extends TestCase {
 		$this->Shell->runCommand('subCommands', array('subCommands', 'bake'));
 		$output = $this->Shell->stdout->output;
 
-		$expected = "controller db_config fixture model plugin project test view\n";
+		$expected = "controller fixture model plugin project test view\n";
 		$this->assertEquals($expected, $output);
 	}
 

+ 0 - 1
tests/TestCase/Console/Command/Task/FixtureTaskTest.php

@@ -54,7 +54,6 @@ class FixtureTaskTest extends TestCase {
 			array($out, $out, $in)
 		);
 		$this->Task->Template = new TemplateTask($out, $out, $in);
-		$this->Task->DbConfig = $this->getMock('Cake\Console\Command\Task\DbConfigTask', array(), array($out, $out, $in));
 		$this->Task->Template->initialize();
 	}
 

+ 0 - 1
tests/TestCase/Console/Command/Task/PluginTaskTest.php

@@ -14,7 +14,6 @@
  */
 namespace Cake\Test\TestCase\Console\Command\Task;
 
-use Cake\Console\Command\Task\DbConfigTask;
 use Cake\Console\Command\Task\TemplateTask;
 use Cake\Core\App;
 use Cake\Core\Configure;