@@ -34,13 +34,13 @@ protected function defineEnvironment($app)
34
34
{
35
35
$ app ['config ' ]->set ('auth.providers.users.model ' , 'MagicLink\Test\TestSupport\User ' );
36
36
37
- $ app ['config ' ]->set ('view.paths ' , [__DIR__ . '/stubs/resources/views ' ]);
37
+ $ app ['config ' ]->set ('view.paths ' , [__DIR__ . '/stubs/resources/views ' ]);
38
38
39
- $ app ['config ' ]->set ('filesystems.disks.local.root ' , __DIR__ . '/stubs/storage/app ' );
39
+ $ app ['config ' ]->set ('filesystems.disks.local.root ' , __DIR__ . '/stubs/storage/app ' );
40
40
41
41
$ app ['config ' ]->set ('filesystems.disks.alternative ' , [
42
42
'driver ' => 'local ' ,
43
- 'root ' => __DIR__ . '/stubs/storage/app_alternative ' ,
43
+ 'root ' => __DIR__ . '/stubs/storage/app_alternative ' ,
44
44
]);
45
45
46
46
$ app ['config ' ]->set ('database.connections.pgsql ' , [
@@ -65,7 +65,7 @@ protected function defineEnvironment($app)
65
65
'driver ' => 'sqlite ' ,
66
66
'database ' => ':memory: ' ,
67
67
'prefix ' => '' ,
68
- 'foreign_key_constraints ' => env ( ' DB_FOREIGN_KEYS ' , true ) ,
68
+ 'foreign_key_constraints ' => true ,
69
69
]);
70
70
71
71
$ driver = getenv ('DB_DRIVER ' );
@@ -75,12 +75,11 @@ protected function defineEnvironment($app)
75
75
} else {
76
76
$ app ['config ' ]->set ('database.default ' , $ driver );
77
77
}
78
-
79
78
}
80
79
81
80
protected function defineDatabaseMigrations ()
82
81
{
83
- $ this ->loadMigrationsFrom (__DIR__ . '/../databases/migrations ' );
82
+ $ this ->loadMigrationsFrom (__DIR__ . '/../databases/migrations ' );
84
83
$ this ->setUpDatabase ($ this ->app );
85
84
}
86
85
@@ -110,6 +109,6 @@ protected function setUpDatabase($app)
110
109
111
110
protected function loadRoutes ()
112
111
{
113
- include __DIR__ . '/stubs/routes.php ' ;
112
+ include __DIR__ . '/stubs/routes.php ' ;
114
113
}
115
114
}
0 commit comments