|
|
|
@ -171,9 +171,9 @@ class SimplePdoTest extends TestCase
|
|
|
|
$this->assertInstanceOf(Collection::class, $row);
|
|
|
|
$this->assertInstanceOf(Collection::class, $row);
|
|
|
|
$this->assertSame('Alice', $row['name']);
|
|
|
|
$this->assertSame('Alice', $row['name']);
|
|
|
|
} catch (PDOException $exception) {
|
|
|
|
} catch (PDOException $exception) {
|
|
|
|
$this->assertSame(
|
|
|
|
$this->assertStringContainsString(
|
|
|
|
'Prepare failed: near "RETURNING": syntax error',
|
|
|
|
'near "returning": syntax error',
|
|
|
|
$exception->getMessage(),
|
|
|
|
strtolower($exception->getMessage()),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|