mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Make unit tests cleanup a DB after finish
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user