mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +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