Commit 20b191ef authored by Kim Hemsø Rasmussen's avatar Kim Hemsø Rasmussen Committed by Benjamin Eberlei

Delete always content from table master_slave_table between tests.

parent e7874c44
...@@ -27,9 +27,12 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase ...@@ -27,9 +27,12 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase
$sm = $this->_conn->getSchemaManager(); $sm = $this->_conn->getSchemaManager();
$sm->createTable($table); $sm->createTable($table);
$this->_conn->insert('master_slave_table', array('test_int' => 1));
} catch(\Exception $e) { } catch(\Exception $e) {
} }
$this->_conn->executeUpdate('DELETE FROM master_slave_table');
$this->_conn->insert('master_slave_table', array('test_int' => 1));
} }
public function createMasterSlaveConnection($keepSlave = false) public function createMasterSlaveConnection($keepSlave = false)
......
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