Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Added call of parents tearDown method in PHPUnit\DbUnit\TestCaseTrait…
Browse files Browse the repository at this point in the history
…:tearDown.
  • Loading branch information
michsindelar authored and sebastianbergmann committed Dec 9, 2017
1 parent 4033503 commit 3fc157a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TestCaseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ protected function setUp()
*/
protected function tearDown()
{
parent::tearDown();

$this->getDatabaseTester()->setTearDownOperation($this->getTearDownOperation());
$this->getDatabaseTester()->setDataSet($this->getDataSet());
$this->getDatabaseTester()->onTearDown();
Expand Down

0 comments on commit 3fc157a

Please sign in to comment.