diff --git a/tests/Integration/Requests/PrepareTest.php b/tests/Integration/Requests/PrepareTest.php index 04684ab..8b85293 100644 --- a/tests/Integration/Requests/PrepareTest.php +++ b/tests/Integration/Requests/PrepareTest.php @@ -68,7 +68,7 @@ public function testExecuteUpdateUpdatesRows() : void { $stmt = $this->client->prepare('INSERT INTO prepare_execute VALUES(:id, :name)'); - $insertResult1 = $stmt->executeUpdate(1, 'foo'); + $insertResult2 = $stmt->executeUpdate([':id' => 1], [':name' => 'foo']); $insertResult2 = $stmt->executeUpdate([':name' => 'bar'], [':id' => 2]); $selectResult = $this->client->executeQuery('SELECT * FROM prepare_execute WHERE id > 0 ORDER BY id');