Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add experimental .env for test purposes.
James Coled0d7a0befc66
diff --git a/.env.testing b/.env.testingnew file mode 100644index 0000000000..2ca0859f2a--- /dev/null+++ b/.env.testing@@ -0,0 +1,26 @@+APP_ENV=testing+APP_DEBUG=true+APP_KEY=TestTestTestTestTestTestTestTest+DEFAULT_LANGUAGE=en_US+DEFAULT_LOCALE=equal+TZ=Europe/Amsterdam+LOG_CHANNEL=stdout+APP_LOG_LEVEL=debug+AUDIT_LOG_LEVEL=info+AUDIT_LOG_CHANNEL=audit_stdout+DB_CONNECTION=sqlite+CACHE_DRIVER=array+SESSION_DRIVER=array+MAIL_MAILER=log+SEND_ERROR_MESSAGE=true+ENABLE_EXTERNAL_MAP=false+ENABLE_EXTERNAL_RATES=true+AUTHENTICATION_GUARD=web+ALLOW_WEBHOOKS=true+APP_NAME=FireflyIII+BROADCAST_DRIVER=log+QUEUE_DRIVER=sync+CACHE_PREFIX=firefly+FIREFLY_III_LAYOUT=v1+APP_URL=http://localhostdiff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.ymlindex b985962d91..95f852c4d7 100644--- a/.github/workflows/sonarcloud.yml+++ b/.github/workflows/sonarcloud.yml@@ -43,7 +43,7 @@ jobs:xmlwriter- name: Copy standard configuration- run: copy .env.example .env+ run: copy .env.testing .env- name: Install Composer dependenciesrun: composer install --prefer-dist --no-interaction --no-progress --no-scriptsdiff --git a/bootstrap/app.php b/bootstrap/app.phpindex c6dadd7ee1..cd8a24b28d 100644--- a/bootstrap/app.php+++ b/bootstrap/app.php@@ -44,7 +44,7 @@ if (!function_exists('envNonEmpty')) {function envNonEmpty(string $key, $default = null){$result = env($key, $default);- if (is_string($result) && '' === $result) {+ if ('' === $result) {$result = $default;}