Commit d611f0c8 authored by Steve Müller's avatar Steve Müller

skip test for vendors other than MySQL

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