diff --git a/tests/CommandTest.php b/tests/CommandTest.php index 7f3dbd4d..32486c27 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -465,9 +465,10 @@ public function testUpdate( array $columns, array|string $conditions, array $params, - string $expected + array $expectedValues, + int $expectedCount, ): void { - parent::testUpdate($table, $columns, $conditions, $params, $expected); + parent::testUpdate($table, $columns, $conditions, $params, $expectedValues, $expectedCount); } /** diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index a54377ea..a14c9116 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -703,10 +703,11 @@ public function testUpdate( string $table, array $columns, array|string $condition, - string $expectedSQL, - array $expectedParams + array $params, + string $expectedSql, + array $expectedParams, ): void { - parent::testUpdate($table, $columns, $condition, $expectedSQL, $expectedParams); + parent::testUpdate($table, $columns, $condition, $params, $expectedSql, $expectedParams); } /**