Make unit tests cleanup a DB after finish

This commit is contained in:
Anton Andersen
2014-09-08 13:52:11 +04:00
parent 377cb09aa8
commit 09ae5fb595

View File

@ -80,7 +80,6 @@ class TestCase extends Test
{
parent::setUp();
$this->mockApplication();
$this->unloadFixtures();
$this->loadFixtures();
}
@ -90,6 +89,7 @@ class TestCase extends Test
protected function tearDown()
{
$this->destroyApplication();
$this->unloadFixtures();
parent::tearDown();
}