Permalink
Browse files

Merge branch 'GH-203' into 2.3

  • Loading branch information...
beberlei committed Oct 5, 2012
2 parents e7874c4 + 20b191e commit e00ce93926c37d7cab0368694715ff913804780c
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/Doctrine/Tests/DBAL/Functional/MasterSlaveConnectionTest.php
@@ -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)

0 comments on commit e00ce93

Please sign in to comment.