From 4358303e3dac0f198dfaf7211dc23357bc73eead Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Sun, 5 May 2024 15:05:51 +0700 Subject: [PATCH] Update tests according to the main PR (#334) --- tests/CommandTest.php | 4 ++-- tests/QueryBuilderTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/CommandTest.php b/tests/CommandTest.php index fb068b85..be24f006 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -70,13 +70,13 @@ public function testAlterColumn(): void */ public function testBatchInsert( string $table, - array $columns, iterable $values, + array $columns, string $expected, array $expectedParams = [], int $insertedRow = 1 ): void { - parent::testBatchInsert($table, $columns, $values, $expected, $expectedParams, $insertedRow); + parent::testBatchInsert($table, $values, $columns, $expected, $expectedParams, $insertedRow); } public function testDropCheck(): void diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index 7acd2b36..811901c1 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -144,12 +144,12 @@ public function testAddUnique(string $name, string $table, array|string $columns */ public function testBatchInsert( string $table, - array $columns, iterable $rows, + array $columns, string $expected, array $expectedParams = [], ): void { - parent::testBatchInsert($table, $columns, $rows, $expected, $expectedParams); + parent::testBatchInsert($table, $rows, $columns, $expected, $expectedParams); } /**