From 386f7a3f094485feec105e6ff711b3399399c589 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 29 Mar 2014 20:06:00 +0100 Subject: [PATCH] SOme change that could be just for fun --- tests/TestCase/Database/ConnectionTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } /**