Skip to content

Commit 1d753d6

Browse files
authored
Update tests according changes in db package (#409)
1 parent 292c352 commit 1d753d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Provider/CommandProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function batchInsert(): array
3232
['username' => 'silverfire', 'is_active' => true, 'langs' => ['Ukrainian', 'Russian', 'English']]
3333
),
3434
1,
35-
1,
35+
1.0,
3636
'',
3737
false,
3838
],
@@ -52,7 +52,7 @@ public static function batchInsert(): array
5252

5353
$batchInsert['binds params from arrayExpression'] = [
5454
'{{%type}}',
55-
[[new ArrayExpression([1, null, 3], 'int'), 1, 1, '', false]],
55+
[[new ArrayExpression([1, null, 3], 'int'), 1, 1.0, '', false]],
5656
['intarray_col', 'int_col', 'float_col', 'char_col', 'bool_col'],
5757
'expected' => <<<SQL
5858
INSERT INTO "type" ("intarray_col", "int_col", "float_col", "char_col", "bool_col") VALUES (ARRAY[:qp0,:qp1,:qp2]::int[], :qp3, :qp4, :qp5, :qp6)

0 commit comments

Comments
 (0)