Commit e4d1084b authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #397 from deeky666/fix-master-slave-connection-test

Skip MasterSlaveConnectionTest for vendors other than MySQL
parents 0e4de6ba d611f0c8
...@@ -14,8 +14,11 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase ...@@ -14,8 +14,11 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase
{ {
parent::setUp(); parent::setUp();
if ($this->_conn->getDatabasePlatform()->getName() == "sqlite") { $platformName = $this->_conn->getDatabasePlatform()->getName();
$this->markTestSkipped('Test does not work on sqlite.');
// This is a MySQL specific test, skip other vendors.
if ($platformName != 'mysql') {
$this->markTestSkipped(sprintf('Test does not work on %s.', $platformName));
} }
try { try {
......
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