Code Duplication    Length = 6-6 lines in 3 locations

lib/Cake/Console/Command/Task/ControllerTask.php 1 location

@@ 361-366 (lines=6) @@
358
 * @param string $className Controller class name
359
 * @return string Baked test
360
 */
361
	public function bakeTest($className) {
362
		$this->Test->plugin = $this->plugin;
363
		$this->Test->connection = $this->connection;
364
		$this->Test->interactive = $this->interactive;
365
		return $this->Test->bake('Controller', $className);
366
	}
367
368
/**
369
 * Interact with the user and get a list of additional helpers

lib/Cake/Console/Command/Task/ModelTask.php 2 locations

@@ 850-855 (lines=6) @@
847
 * @param string $className Model class name
848
 * @return string
849
 */
850
	public function bakeTest($className) {
851
		$this->Test->interactive = $this->interactive;
852
		$this->Test->plugin = $this->plugin;
853
		$this->Test->connection = $this->connection;
854
		return $this->Test->bake('Model', $className);
855
	}
856
857
/**
858
 * outputs the a list of possible models or controllers from database
@@ 1016-1021 (lines=6) @@
1013
 * @return void
1014
 * @see FixtureTask::bake
1015
 */
1016
	public function bakeFixture($className, $useTable = null) {
1017
		$this->Fixture->interactive = $this->interactive;
1018
		$this->Fixture->connection = $this->connection;
1019
		$this->Fixture->plugin = $this->plugin;
1020
		$this->Fixture->bake($className, $useTable);
1021
	}
1022
1023
}
1024