diff --git a/tests/SimplePdoTest.php b/tests/SimplePdoTest.php index eb6d16d..4e97dd7 100644 --- a/tests/SimplePdoTest.php +++ b/tests/SimplePdoTest.php @@ -171,9 +171,9 @@ class SimplePdoTest extends TestCase $this->assertInstanceOf(Collection::class, $row); $this->assertSame('Alice', $row['name']); } catch (PDOException $exception) { - $this->assertSame( - 'Prepare failed: near "RETURNING": syntax error', - $exception->getMessage(), + $this->assertStringContainsString( + 'near "returning": syntax error', + strtolower($exception->getMessage()), ); } }