Fixed platform detection in a test

parent 9d144988
...@@ -296,7 +296,7 @@ class ExceptionTest extends DbalFunctionalTestCase ...@@ -296,7 +296,7 @@ class ExceptionTest extends DbalFunctionalTestCase
public function testConnectionExceptionSqLite() : void public function testConnectionExceptionSqLite() : void
{ {
if ($this->connection instanceof SqlitePlatform) { if ($this->connection->getDatabasePlatform() instanceof SqlitePlatform) {
$this->markTestSkipped('Only fails this way on sqlite'); $this->markTestSkipped('Only fails this way on sqlite');
} }
......
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