Skip to content

Commit f80ba0b

Browse files
committed
test(Install): fix context formigration test
1 parent c3a8369 commit f80ba0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/migration/migration_to_1_2_0_Test.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function testUpdateCountryLocationZoneRelation()
8989
'plugin_carbon_zones_id' => $zone_id,
9090
]);
9191
$source_zone_id = $DB->insertId();
92+
$migration = new Migration('1.2.0'); // Used in the migration file
9293
$migration_file = __DIR__ . '/../../install/migration/update_1.1.0_to_1.2.0/04_update_location_zone_relation.php';
9394
$migration_file = realpath($migration_file);
9495
require($migration_file);
@@ -134,6 +135,7 @@ public function testUpdateStateLocationZoneRelation()
134135
'plugin_carbon_zones_id' => $zone_id,
135136
]);
136137
$source_zone_id = $DB->insertId();
138+
$migration = new Migration('1.2.0'); // Used in the migration file
137139
$migration_file = __DIR__ . '/../../install/migration/update_1.1.1_to_1.2.0/04_update_location_zone_relation.php';
138140
$migration_file = realpath($migration_file);
139141
require($migration_file);

0 commit comments

Comments
 (0)