diff --git a/lib/Cake/TestSuite/Fixture/CakeFixtureManager.php b/lib/Cake/TestSuite/Fixture/CakeFixtureManager.php index 31808c647..f671713b1 100644 --- a/lib/Cake/TestSuite/Fixture/CakeFixtureManager.php +++ b/lib/Cake/TestSuite/Fixture/CakeFixtureManager.php @@ -229,8 +229,8 @@ class CakeFixtureManager { if (!empty($this->_loaded[$f])) { $fixture = $this->_loaded[$f]; $db = ConnectionManager::getDataSource($fixture->useDbConfig); - $db->begin(); $this->_setupTable($fixture, $db, $test->dropTables); + $db->begin(); $fixture->insert($db); $db->commit(); }