Commit 65d1ab6a authored by Benjamin Eberlei's avatar Benjamin Eberlei

Additional assertion on table existance

parent 9a84df09
......@@ -46,9 +46,10 @@ class TemporaryTableTest extends \Doctrine\Tests\DbalFunctionalTestCase
$table->addColumn("id", "integer");
$table->setPrimaryKey(array('id'));
$this->_conn->beginTransaction();
$this->_conn->getSchemaManager()->createTable($table);
$this->_conn->commit();
$table = $this->_conn->getSchemaManager()->listTableDetails($table->getName());
$this->assertEquals("nontemporary", $table->getName());
$this->_conn->beginTransaction();
$this->_conn->insert("nontemporary", array("id" => 1));
......
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