Updates following 5.7 shift

This commit is contained in:
Adam Lavin 2021-02-14 17:58:02 +00:00
parent 3a2b84d374
commit 4cf5c23010
No known key found for this signature in database
GPG key ID: 9C4C68AFA9CA6461
5 changed files with 10 additions and 4 deletions

View file

@ -30,7 +30,7 @@
*/
$app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../')
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
/*

View file

@ -67,7 +67,7 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
'model' => App\Models\User::class,
],
// 'users' => [

View file

@ -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'),

View file

@ -31,7 +31,7 @@ return [
],
'stripe' => [
'model' => App\User::class,
'model' => App\Models\User::class,
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
'webhook' => [

View file

@ -27,7 +27,8 @@
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="APP_URL" value="http://ponyfm-dev.poni"/>
<env name="DB_CONNECTION" value="memory"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="PONYFM_DATASTORE" value="/vagrant/storage/app/testing-datastore"/>
</php>
</phpunit>