File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
spec/PhpSpec/Laravel/Util Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function it_allows_the_env_to_be_set_to_anything(Application $app)
29
29
30
30
function it_will_run_migrations_if_told_to (Application $ app , Console $ console )
31
31
{
32
- $ console ->call ('migrate ' )->shouldBeCalled ();
32
+ $ console ->call ('migrate:refresh ' )->shouldBeCalled ();
33
33
$ app ->make ('artisan ' )->shouldBeCalled ();
34
34
$ app ->make ('artisan ' )->willReturn ($ console );
35
35
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function refreshApplication($app = null)
75
75
$ this ->app ->boot ();
76
76
77
77
if ($ this ->migrateDatabase ) {
78
- $ this ->app ->make ('artisan ' )->call ('migrate ' );
78
+ $ this ->app ->make ('artisan ' )->call ('migrate:refresh ' );
79
79
}
80
80
}
81
81
You can’t perform that action at this time.
0 commit comments