Commit 09ae5fb5 by Anton Andersen

Make unit tests cleanup a DB after finish

parent 377cb09a
...@@ -80,7 +80,6 @@ class TestCase extends Test ...@@ -80,7 +80,6 @@ class TestCase extends Test
{ {
parent::setUp(); parent::setUp();
$this->mockApplication(); $this->mockApplication();
$this->unloadFixtures();
$this->loadFixtures(); $this->loadFixtures();
} }
...@@ -90,6 +89,7 @@ class TestCase extends Test ...@@ -90,6 +89,7 @@ class TestCase extends Test
protected function tearDown() protected function tearDown()
{ {
$this->destroyApplication(); $this->destroyApplication();
$this->unloadFixtures();
parent::tearDown(); parent::tearDown();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment