From 4cf5c23010b48ce387a2fa6c82e4e31d9b70c7dc Mon Sep 17 00:00:00 2001 From: Adam Lavin Date: Sun, 14 Feb 2021 17:58:02 +0000 Subject: [PATCH] Updates following 5.7 shift --- bootstrap/app.php | 2 +- config/auth.php | 2 +- config/filesystems.php | 5 +++++ config/services.php | 2 +- phpunit.xml | 3 ++- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 27f334fb..848136bc 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -30,7 +30,7 @@ */ $app = new Illuminate\Foundation\Application( - realpath(__DIR__.'/../') + $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__) ); /* diff --git a/config/auth.php b/config/auth.php index 78175010..087bbb3e 100644 --- a/config/auth.php +++ b/config/auth.php @@ -67,7 +67,7 @@ return [ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\User::class, + 'model' => App\Models\User::class, ], // 'users' => [ diff --git a/config/filesystems.php b/config/filesystems.php index 77fa5ded..3f0aa4ca 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -48,6 +48,11 @@ return [ 'root' => storage_path('app'), ], + 'testing' => [ + 'driver' => 'local', + 'root' => storage_path('app').'/test-files', + ], + 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), diff --git a/config/services.php b/config/services.php index bb4d2ec9..74bde498 100644 --- a/config/services.php +++ b/config/services.php @@ -31,7 +31,7 @@ return [ ], 'stripe' => [ - 'model' => App\User::class, + 'model' => App\Models\User::class, 'key' => env('STRIPE_KEY'), 'secret' => env('STRIPE_SECRET'), 'webhook' => [ diff --git a/phpunit.xml b/phpunit.xml index 04b140f3..50c7df18 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -27,7 +27,8 @@ - + +