diff --git a/tests/TestCase/Database/ConnectionTest.php b/tests/TestCase/Database/ConnectionTest.php index 1c1128d20a2..d44562b6456 100644 --- a/tests/TestCase/Database/ConnectionTest.php +++ b/tests/TestCase/Database/ConnectionTest.php @@ -27,13 +27,14 @@ class ConnectionTest extends TestCase { public function setUp() { parent::setUp(); $this->connection = ConnectionManager::get('test'); + $this->connection->execute('DROP TABLE IF EXISTS things'); } public function tearDown() { - parent::tearDown(); $this->connection->execute('DROP TABLE IF EXISTS things'); $this->connection->useSavePoints(false); unset($this->connection); + parent::tearDown(); } /**