|
|
@@ -127,11 +127,6 @@ class TestTask extends BakeTask {
|
|
|
*/
|
|
|
public function outputClassChoices($type) {
|
|
|
$type = $this->mapType($type);
|
|
|
- $plugin = null;
|
|
|
- if (!empty($this->plugin)) {
|
|
|
- $plugin = $this->plugin;
|
|
|
- }
|
|
|
-
|
|
|
$this->out(
|
|
|
'You must provide a class to bake a test for. Some possible options are:',
|
|
|
2
|
|
|
@@ -281,10 +276,6 @@ class TestTask extends BakeTask {
|
|
|
* @return string Path of the subspace.
|
|
|
*/
|
|
|
public function getSubspacePath($type) {
|
|
|
- $namespace = Configure::read('App.namespace');
|
|
|
- if ($this->plugin) {
|
|
|
- $namespace = $this->plugin;
|
|
|
- }
|
|
|
$suffix = $this->classSuffixes[strtolower($type)];
|
|
|
$subspace = $this->mapType($type);
|
|
|
return str_replace('\\', DS, $subspace);
|