diff --git a/tests/Provider/CommandProvider.php b/tests/Provider/CommandProvider.php index 61aa84000..5d2ae6176 100644 --- a/tests/Provider/CommandProvider.php +++ b/tests/Provider/CommandProvider.php @@ -339,6 +339,23 @@ public static function batchInsert(): array ':qp3' => false, ], ], + 'with associative values' => [ + 'type', + ['int_col', 'float_col', 'char_col', 'bool_col'], + 'values' => [['int' => '1.0', 'float' => '2', 'char' => 10, 'bool' => 1]], + 'expected' => DbHelper::replaceQuotes( + << [ + ':qp0' => 1, + ':qp1' => 2.0, + ':qp2' => '10', + ':qp3' => true, + ], + ], ]; } diff --git a/tests/Provider/QueryBuilderProvider.php b/tests/Provider/QueryBuilderProvider.php index fb4bf7450..0f09d5866 100644 --- a/tests/Provider/QueryBuilderProvider.php +++ b/tests/Provider/QueryBuilderProvider.php @@ -235,18 +235,6 @@ public static function batchInsert(): array })(), '', ], - 'with associative values' => [ - 'type', - ['int_col', 'int_col2'], - [['first' => 1, 'second' => 2]], - 'expected' => DbHelper::replaceQuotes( - << 1, ':qp1' => 2], - ], ]; }