Commit 9a84df09 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Rewrite failing temporary table test

parent 3cf559fc
......@@ -51,11 +51,7 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
$this->_conn->commit();
$this->_conn->beginTransaction();
try {
$this->_conn->insert("nontemporary", array("id" => 1));
} catch(Exception $e) {
$this->fail("Error: " . $e->getMessage() . " --- Existing tables: " . implode(", ", $this->_conn->getSchemaManager()->listTableNames()));
}
$this->_conn->insert("nontemporary", array("id" => 1));
$this->_conn->exec($platform->getDropTemporaryTableSQL($tempTable));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment