fix: env vars handled via conf file, add: functional tests

This commit is contained in:
Michael 2024-08-17 18:06:06 +02:00
parent 3d08b14f11
commit 21c4330f16
39 changed files with 416 additions and 172 deletions

View file

@ -6,7 +6,7 @@ require_once __DIR__.'/../vendor/autoload.php';
dirname(__DIR__)
))->bootstrap();
date_default_timezone_set(env('APP_TIMEZONE', 'UTC'));
/*
|--------------------------------------------------------------------------
@ -23,6 +23,10 @@ $app = new Laravel\Lumen\Application(
dirname(__DIR__)
);
$app->configure('app');
date_default_timezone_set(config('APP_TIMEZONE', 'UTC'));
$app->withFacades();
// $app->withEloquent();
@ -59,7 +63,6 @@ $app->singleton(
|
*/
$app->configure('app');
/*
|--------------------------------------------------------------------------