@@ -22,7 +22,7 @@ public function testRollbackCommand()
2222 $ this ->artisan (Names::MAKE , ['name ' => 'RollbackOne ' ])->assertExitCode (0 );
2323 $ this ->artisan (Names::MAKE , ['name ' => 'RollbackTwo ' ])->assertExitCode (0 );
2424
25- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
25+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
2626
2727 $ this ->assertDatabaseHasTable ($ this ->table );
2828 $ this ->assertDatabaseCount ($ this ->table , 2 );
@@ -36,13 +36,13 @@ public function testRollbackCommand()
3636 $ this ->assertDatabaseHasTable ($ this ->table );
3737 $ this ->assertDatabaseCount ($ this ->table , 0 );
3838
39- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
39+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
4040
4141 $ this ->assertDatabaseHasTable ($ this ->table );
4242 $ this ->assertDatabaseCount ($ this ->table , 2 );
4343
4444 $ this ->artisan (Names::MAKE , ['name ' => 'RollbackTree ' ])->assertExitCode (0 );
45- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
45+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
4646
4747 $ this ->assertDatabaseHasTable ($ this ->table );
4848 $ this ->assertDatabaseCount ($ this ->table , 3 );
@@ -66,15 +66,15 @@ public function testEnvironment()
6666 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_on_production ' );
6767 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_on_testing ' );
6868 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_on_many_environments ' );
69- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
69+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
7070
7171 $ this ->assertDatabaseCount ($ table , 5 );
7272 $ this ->assertDatabaseCount ($ this ->table , 12 );
7373 $ this ->assertDatabaseMigrationHas ($ this ->table , 'run_on_all ' );
7474 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_on_production ' );
7575 $ this ->assertDatabaseMigrationHas ($ this ->table , 'run_on_testing ' );
7676 $ this ->assertDatabaseMigrationHas ($ this ->table , 'run_on_many_environments ' );
77- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
77+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
7878
7979 $ this ->artisan (Names::ROLLBACK )->assertExitCode (0 );
8080 $ this ->assertDatabaseCount ($ table , 10 );
@@ -96,7 +96,7 @@ public function testDownSuccess()
9696 $ this ->assertDatabaseCount ($ table , 0 );
9797 $ this ->assertDatabaseCount ($ this ->table , 0 );
9898 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_success ' );
99- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
99+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
100100
101101 $ this ->assertDatabaseCount ($ table , 2 );
102102 $ this ->assertDatabaseCount ($ this ->table , 12 );
@@ -119,7 +119,7 @@ public function testDownSuccessOnFailed()
119119 $ this ->assertDatabaseCount ($ table , 0 );
120120 $ this ->assertDatabaseCount ($ this ->table , 0 );
121121 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_success_on_failed ' );
122- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
122+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
123123
124124 $ this ->assertDatabaseCount ($ table , 2 );
125125 $ this ->assertDatabaseCount ($ this ->table , 12 );
@@ -160,7 +160,7 @@ public function testDownFailed()
160160 $ this ->assertDatabaseCount ($ table , 0 );
161161 $ this ->assertDatabaseCount ($ this ->table , 0 );
162162 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_failed ' );
163- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
163+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
164164
165165 $ this ->assertDatabaseCount ($ table , 0 );
166166 $ this ->assertDatabaseCount ($ this ->table , 12 );
@@ -183,7 +183,7 @@ public function testUpFailedOnException()
183183 $ this ->assertDatabaseCount ($ table , 0 );
184184 $ this ->assertDatabaseCount ($ this ->table , 0 );
185185 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'run_failed_failure ' );
186- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
186+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
187187
188188 $ this ->assertDatabaseCount ($ table , 0 );
189189 $ this ->assertDatabaseCount ($ this ->table , 12 );
@@ -221,13 +221,13 @@ public function testDisabledBefore()
221221 $ this ->assertDatabaseCount ($ this ->table , 0 );
222222 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'test_before_enabled ' );
223223 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'test_before_disabled ' );
224- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
224+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
225225
226226 $ this ->assertDatabaseCount ($ table , 2 );
227227 $ this ->assertDatabaseCount ($ this ->table , 12 );
228228 $ this ->assertDatabaseMigrationHas ($ this ->table , 'test_before_enabled ' );
229229 $ this ->assertDatabaseMigrationHas ($ this ->table , 'test_before_disabled ' );
230- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
230+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
231231
232232 $ this ->artisan (Names::ROLLBACK )->assertExitCode (0 );
233233
@@ -249,13 +249,13 @@ public function testEnabledBefore()
249249 $ this ->assertDatabaseCount ($ this ->table , 0 );
250250 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'test_before_enabled ' );
251251 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'test_before_disabled ' );
252- $ this ->artisan (Names::MIGRATE , ['--before ' => true ])->assertExitCode (0 );
252+ $ this ->artisan (Names::ACTIONS , ['--before ' => true ])->assertExitCode (0 );
253253
254254 $ this ->assertDatabaseCount ($ table , 1 );
255255 $ this ->assertDatabaseCount ($ this ->table , 11 );
256256 $ this ->assertDatabaseMigrationHas ($ this ->table , 'test_before_enabled ' );
257257 $ this ->assertDatabaseMigrationDoesntLike ($ this ->table , 'test_before_disabled ' );
258- $ this ->artisan (Names::MIGRATE , ['--before ' => true ])->assertExitCode (0 );
258+ $ this ->artisan (Names::ACTIONS , ['--before ' => true ])->assertExitCode (0 );
259259
260260 $ this ->artisan (Names::ROLLBACK )->assertExitCode (0 );
261261
@@ -281,7 +281,7 @@ public function testDI(): void
281281 $ this ->assertDatabaseMigrationDoesntLike ($ table , 'up_down ' , column: 'value ' );
282282 $ this ->assertDatabaseMigrationDoesntLike ($ table , 'invoke_down ' , column: 'value ' );
283283 $ this ->assertDatabaseMigrationDoesntLike ($ table , 'invoke ' , column: 'value ' );
284- $ this ->artisan (Names::MIGRATE )->assertExitCode (0 );
284+ $ this ->artisan (Names::ACTIONS )->assertExitCode (0 );
285285
286286 $ this ->assertDatabaseCount ($ table , 3 );
287287 $ this ->assertDatabaseCount ($ this ->table , 3 );
0 commit comments