mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-21 16:38:36 -06:00
Add experimental .env for test purposes.
This commit is contained in:
parent
6b2e3dcb2a
commit
d0d7a0befc
26
.env.testing
Normal file
26
.env.testing
Normal file
@ -0,0 +1,26 @@
|
||||
APP_ENV=testing
|
||||
APP_DEBUG=true
|
||||
SITE_OWNER=mail@example.com
|
||||
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://localhost
|
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
xmlwriter
|
||||
|
||||
- name: Copy standard configuration
|
||||
run: copy .env.example .env
|
||||
run: copy .env.testing .env
|
||||
|
||||
- name: Install Composer dependencies
|
||||
run: composer install --prefer-dist --no-interaction --no-progress --no-scripts
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user