Skip to content

Commit eac06d3

Browse files
authored
Merge branch 'master' into php-cs-fixer
2 parents ee638b0 + b2b0bc7 commit eac06d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public static function loadFixtures(ConnectionInterface $db): void
8787
'profile_id' => ColumnBuilder::integer(),
8888
],
8989
)->execute();
90-
$db->createCommand()->batchInsert(
90+
$db->createCommand()->insertBatch(
9191
'customer',
92-
['id', 'email', 'name', 'address', 'status', 'profile_id'],
9392
[
9493
[1, '[email protected]', 'user1', 'address1', 1, 1],
9594
[2, '[email protected]', 'user2', 'address2', 1, null],
9695
[3, '[email protected]', 'user3', 'address3', 2, 2],
9796
],
97+
['id', 'email', 'name', 'address', 'status', 'profile_id'],
9898
)->execute();
9999
}
100100
}

0 commit comments

Comments
 (0)