No startup and teardown for controller tests

and.. no startup/teardown functions unless they are actually going to do more
than just call parent
This commit is contained in:
AD7six 2012-06-06 21:04:02 +02:00
parent 51635c2ca6
commit a5fabcc1dc
2 changed files with 2 additions and 5 deletions

View file

@ -459,11 +459,6 @@ class TestTask extends BakeTask {
if ($type == 'behavior') {
$construct = "new $fullClassName();\n";
}
if ($type == 'controller') {
$className = substr($fullClassName, 0, -10);
$construct = "new $fullClassName();\n";
$post = "\$this->{$className}->constructClasses();\n";
}
if ($type == 'helper') {
$pre = "\$View = new View();\n";
$construct = "new {$fullClassName}(\$View);\n";