diff --git a/system/Test/CIDatabaseTestCase.php b/system/Test/CIDatabaseTestCase.php index 2a911d684d8c..beb9ed857ba0 100644 --- a/system/Test/CIDatabaseTestCase.php +++ b/system/Test/CIDatabaseTestCase.php @@ -173,6 +173,7 @@ protected function setUp() { $this->migrations->setNamespace($this->namespace); } + $this->migrations->regress(0, 'tests'); // Delete all of the tables to ensure we're at a clean start. $tables = $this->db->listTables(); @@ -192,7 +193,6 @@ protected function setUp() } } - $this->migrations->regress(0, 'tests'); $this->migrations->latest('tests'); }