From fc19c7d1aa0ed2640e01efeeb0d2bd6df2a789be Mon Sep 17 00:00:00 2001 From: NinaRodicova Date: Thu, 29 Oct 2026 13:44:28 +0300 Subject: [PATCH] fix: fix test after a patch bb0dd494862c ("sql: fix work of bind variables") --- tests/Integration/Requests/PrepareTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Requests/PrepareTest.php b/tests/Integration/Requests/PrepareTest.php index 04684ab..2002873 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'); + $insertResult1 = $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');