Skip to content

Commit 788a7a9

Browse files
committed
Merge branch 'aMoniker-master'
2 parents 1f0d765 + 75bd901 commit 788a7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/PhpSpec/Laravel/Util/LaravelSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function it_allows_the_env_to_be_set_to_anything(Application $app)
2929

3030
function it_will_run_migrations_if_told_to(Application $app, Console $console)
3131
{
32-
$console->call('migrate')->shouldBeCalled();
32+
$console->call('migrate:refresh')->shouldBeCalled();
3333
$app->make('artisan')->shouldBeCalled();
3434
$app->make('artisan')->willReturn($console);
3535

src/PhpSpec/Laravel/Util/Laravel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function refreshApplication($app = null)
7575
$this->app->boot();
7676

7777
if ($this->migrateDatabase) {
78-
$this->app->make('artisan')->call('migrate');
78+
$this->app->make('artisan')->call('migrate:refresh');
7979
}
8080
}
8181

0 commit comments

Comments
 (0)