tearDown() public method

Close the database connection after the tests finish.
public tearDown ( )
Example #1
0
 public function tearDown()
 {
     parent::tearDown();
     if (file_exists(self::$fixturePath . '/Export.en.xlf')) {
         unlink(self::$fixturePath . '/Export.en.xlf');
     }
     if (file_exists(self::$fixturePath . '/Export.en.json')) {
         unlink(self::$fixturePath . '/Export.en.json');
     }
 }