Skip to content

A free open source IT asset/license management system

1.2 KB
Raw Blame
# --------------------------------------------
# REQUIRED: BASIC APP SETTINGS
# --------------------------------------------
APP_ENV=testing
APP_DEBUG=true
APP_KEY=base64:glJpcM7BYwWiBggp3SQ/+NlRkqsBQMaGEOjemXqJzOU=
APP_URL=http://localhost:8000
APP_TIMEZONE='UTC'
APP_LOCALE='en-US'

# --------------------------------------------
# REQUIRED: DATABASE SETTINGS
# --------------------------------------------
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=null
DB_USERNAME=null
DB_PASSWORD=null

# --------------------------------------------
# TEST-SUITE MEMORY CEILING
# --------------------------------------------
# ItemImportRequest, ObjectImportCommand, and LdapSync each call
# ini_set('memory_limit', env('IMPORT_MEMORY_LIMIT', '500M')) at
# request-boot / command-boot time. That downgrades whatever the
# CLI sets (via -d memory_limit=1G or php.ini), so a full-suite
# run that hits any importer fixture crashes at ~500M even when
# the CLI asked for more. Bumping the override here means the
# tests inherit a workable ceiling without changing the production
# defaults those same env keys use on real installs.
IMPORT_MEMORY_LIMIT=2G
LDAP_MEM_LIM=2G