File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: php
33sudo : false
44
55php :
6- - 7.0
6+ - 7.1.3
77 - 7.1
88 - 7.2
99 - nightly
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ public function setUp()
4242 protected function getPackageProviders ($ app )
4343 {
4444 return [
45- \Orchestra \Database \ConsoleServiceProvider::class,
4645 \Arcanedev \LaravelNotes \LaravelNotesServiceProvider::class,
4746 ];
4847 }
@@ -85,15 +84,14 @@ protected function getEnvironmentSetUp($app)
8584 */
8685 protected function migrate ()
8786 {
88- $ this -> artisan ( ' migrate ' , [
89- ' -- database' => ' testing ' ,
90- ' --realpath ' => realpath ( __DIR__ .'/../database/ migrations ' ) ,
87+ $ migrations = array_map ( ' realpath ' , [
88+ __DIR__ . ' /../ database/migrations ' ,
89+ __DIR__ .'/fixtures/ migrations ' ,
9190 ]);
9291
93- $ this ->artisan ('migrate ' , [
94- '--database ' => 'testing ' ,
95- '--realpath ' => realpath (__DIR__ .'/fixtures/migrations ' ),
96- ]);
92+ foreach ($ migrations as $ path ) {
93+ $ this ->loadMigrationsFrom ($ path );
94+ }
9795 }
9896
9997 /**
You can’t perform that action at this time.
0 commit comments