Skip to content

Commit

Permalink
Merge pull request #203 from kimhemsoe/master_slave_tests_deletestate
Browse files Browse the repository at this point in the history
Delete always content from table master_slave_table between tests.
  • Loading branch information
beberlei committed Oct 5, 2012
2 parents c7516d4 + 1fa20f7 commit 43bfbf9
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -27,9 +27,12 @@ public function setUp()
$sm = $this->_conn->getSchemaManager();
$sm->createTable($table);

$this->_conn->insert('master_slave_table', array('test_int' => 1));

} 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)
Expand Down

0 comments on commit 43bfbf9

Please sign in to comment.