From ef2fa1b2595ed8729b87bb9c7e4b19c9bf00d0c4 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sun, 20 Aug 2023 07:49:32 +0700 Subject: [PATCH] Fix #61 (point 2) add test --- tests/Provider/QueryBuilderProvider.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/Provider/QueryBuilderProvider.php b/tests/Provider/QueryBuilderProvider.php index 0f09d5866..fb4bf7450 100644 --- a/tests/Provider/QueryBuilderProvider.php +++ b/tests/Provider/QueryBuilderProvider.php @@ -235,6 +235,18 @@ public static function batchInsert(): array })(), '', ], + 'with associative values' => [ + 'type', + ['int_col', 'int_col2'], + [['first' => 1, 'second' => 2]], + 'expected' => DbHelper::replaceQuotes( + << 1, ':qp1' => 2], + ], ]; }