Commit 68631ac6 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix test failures in MySQLi test

parent 2c50eb9e
......@@ -9,13 +9,12 @@ class ConnectionTest extends \Doctrine\Tests\DbalFunctionalTestCase
$this->markTestSkipped('mysqli is not installed.');
}
$driver = getenv('DB');
if (false !== $driver && $driver !== 'mysqli') {
$this->markTestSkipped('this test case is for mysqli only');
}
$this->resetSharedConn();
parent::setUp();
if ( !($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver)) {
$this->markTestSkipped('MySQLi only test.');
}
}
public function tearDown()
......@@ -54,4 +53,4 @@ class ConnectionTest extends \Doctrine\Tests\DbalFunctionalTestCase
$driverOptions
);
}
}
\ No newline at end of file
}
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