Skip to content

Commit

Permalink
More blind condig pt. 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 30, 2014
1 parent e487f67 commit 1316daf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/TestCase/Database/ConnectionTest.php
Expand Up @@ -33,6 +33,9 @@ public function tearDown() {
try {
$this->connection->execute('DROP TABLE IF EXISTS things');
} catch (\Exception $e) {
$config = ConnectionManager::config('test');
ConnectionManager::drop('test');
ConnectionManager::config('test', $config);
}
$this->connection->useSavePoints(false);
unset($this->connection);
Expand Down

0 comments on commit 1316daf

Please sign in to comment.