From 3fc157a69706f6242d0d063fd5d9c4ba8fb027c1 Mon Sep 17 00:00:00 2001 From: Michal Sindelar Date: Fri, 8 Dec 2017 18:06:42 +0100 Subject: [PATCH] Added call of parents tearDown method in PHPUnit\DbUnit\TestCaseTrait:tearDown. --- src/TestCaseTrait.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TestCaseTrait.php b/src/TestCaseTrait.php index 897bd736..7c4350e1 100644 --- a/src/TestCaseTrait.php +++ b/src/TestCaseTrait.php @@ -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();