Exemplo n.º 1
0
 /**
  * tearDownAfterClass
  *
  * @return  void
  */
 public static function tearDownAfterClass()
 {
     static::$dbo->setQuery(MysqlQueryBuilder::dropDatabase('windwalker_foo_test', true))->execute();
     static::$dbo->setQuery(MysqlQueryBuilder::dropDatabase('windwalker_bar_test', true))->execute();
     parent::tearDownAfterClass();
 }
Exemplo n.º 2
0
 /**
  * tearDownAfterClass
  *
  * @return  void
  */
 public static function tearDownAfterClass()
 {
     try {
         static::$dbo->setQuery(MysqlQueryBuilder::dropTable('#__cloud', true))->execute();
     } catch (\Exception $e) {
         // Do nothing
     }
     try {
         static::$dbo->setQuery(MysqlQueryBuilder::dropTable('#__wind', true))->execute();
     } catch (\Exception $e) {
         // Do nothing
     }
     parent::tearDownAfterClass();
 }