Skip to content

Commit 8ac1f25

Browse files
committed
Fix insert
1 parent dc3bf52 commit 8ac1f25

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/TestCase/Command/UpgradeCommandTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,11 @@ public function testExecuteWithMigrations(): void
132132
$this->getAdapter()->getInsertBuilder()
133133
->insert(['version', 'migration_name', 'breakpoint'])
134134
->into('phinxlog')
135-
->values(['20250118143003', 'TestMigration', 0])
135+
->values([
136+
'version' => '20250118143003',
137+
'migration_name' => 'TestMigration',
138+
'breakpoint' => 0,
139+
])
136140
->execute();
137141

138142
$this->exec('migrations upgrade -c test');

0 commit comments

Comments
 (0)