Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Integration/Requests/PrepareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Loading