/** * {@inheritdoc} * * @since 2.0 */ protected function tearDown() { parent::tearDown(); $article = new Article(); $article->dropTable(); $articleComment = new ArticleComment(); $articleComment->dropTable(); }
/** * Called after the test functions are executed * this function is defined in PHPUnit_TestCase and overwritten * here. * * @since 1.0 */ protected function tearDown() { parent::tearDown(); unset($this->rel1); $person = new Person(); $person->dropTable(); $rights = new Rights(); $rights->dropTable(); $rights->dropTable('Person2Rights'); $comment = new ArticleComment(); $comment->dropTable(); $article = new Article(); $article->dropTable(); }