Browse Source

SOme debugging code trying to get a hint on the sqlite problem

Jose Lorenzo Rodriguez 12 years ago
parent
commit
9b43ecc0e3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tests/TestCase/Database/ConnectionTest.php

+ 4 - 1
tests/TestCase/Database/ConnectionTest.php

@@ -31,7 +31,10 @@ class ConnectionTest extends TestCase {
 	}
 
 	public function tearDown() {
-		$this->connection->execute('DROP TABLE IF EXISTS things');
+		try {
+			$this->connection->execute('DROP TABLE IF EXISTS things');
+		} catch (\Exception $e) {
+		}
 		$this->connection->useSavePoints(false);
 		unset($this->connection);
 		parent::tearDown();