Commit 817b5149 authored by Marco Pivetta's avatar Marco Pivetta

#2494 replacing instance with static methods, where methods are defined statically

parent ded4a85d
......@@ -11,13 +11,13 @@ class StatementTest extends DbalFunctionalTestCase
protected function setUp()
{
if (!extension_loaded('sqlsrv')) {
$this->markTestSkipped('sqlsrv is not installed.');
self::markTestSkipped('sqlsrv is not installed.');
}
parent::setUp();
if (!$this->_conn->getDriver() instanceof Driver) {
$this->markTestSkipped('sqlsrv only test');
self::markTestSkipped('sqlsrv only test');
}
}
......
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