mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 01:30:23 +08:00
Merge pull request #4951 from TriAnMan/testdbcleanup
Make unit tests cleanup a DB after finish
This commit is contained in:
@@ -90,6 +90,7 @@ class TestCase extends Test
|
||||
protected function tearDown()
|
||||
{
|
||||
$this->destroyApplication();
|
||||
$this->unloadFixtures();
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user