Commit 4ee89c62 authored by Federkun's avatar Federkun

Don't skip a test for sqlite when you are checking sqlite.

parent 8be62b20
...@@ -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->getDatabasePlatform() instanceof SqlitePlatform) { if (! ($this->connection->getDatabasePlatform() instanceof SqlitePlatform)) {
$this->markTestSkipped('Only fails this way on sqlite'); $this->markTestSkipped('Only fails this way on sqlite');
} }
...@@ -327,7 +327,8 @@ class ExceptionTest extends DbalFunctionalTestCase ...@@ -327,7 +327,8 @@ class ExceptionTest extends DbalFunctionalTestCase
$table->addColumn('id', 'integer'); $table->addColumn('id', 'integer');
$this->expectException(Exception\ReadOnlyException::class); $this->expectException(Exception\ReadOnlyException::class);
$this->expectExceptionMessage(<<<EOT $this->expectExceptionMessage(
<<<EOT
An exception occurred while executing 'CREATE TABLE no_connection (id INTEGER NOT NULL)': An exception occurred while executing 'CREATE TABLE no_connection (id INTEGER NOT NULL)':
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
......
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