diff --git a/cake/console/templates/default/classes/test.ctp b/cake/console/templates/default/classes/test.ctp index 1b6a70653..2bcce902b 100644 --- a/cake/console/templates/default/classes/test.ctp +++ b/cake/console/templates/default/classes/test.ctp @@ -64,22 +64,26 @@ class TestCase extends CakeTestCase { /** - * startTest method + * setUp method * * @return void */ - public function startTest() { + public function setUp() { + parent::setUp(); + $this-> } /** - * endTest method + * tearDown method * * @return void */ - public function endTest() { + public function tearDown() { unset($this->); ClassRegistry::flush(); + + parent::tearDown(); }