Files
newznab-tmux/.env.testing
T
2025-12-14 20:56:43 +01:00

37 lines
905 B
Bash

# ============================================
# TESTING ENVIRONMENT - ISOLATED DATABASE
# ============================================
# This file is automatically loaded when running tests.
# Tests use SQLite in-memory database to prevent
# any changes to the real production database.
# ============================================
APP_NAME=NNTmux
APP_ENV=testing
APP_KEY=base64:SomeTestKeyForTestingPurposesOnly123=
APP_DEBUG=true
APP_URL=http://localhost
# CRITICAL: Use SQLite in-memory database for complete isolation
# DO NOT change these values - tests must never touch real database
DB_CONNECTION=testing
DB_DATABASE=:memory:
BCRYPT_ROUNDS=4
CACHE_STORE=array
SESSION_DRIVER=array
QUEUE_CONNECTION=sync
MAIL_MAILER=array
TELESCOPE_ENABLED=false
# Disable external services during testing
NNTP_USERNAME=
NNTP_PASSWORD=
NNTP_SERVER=
NNTP_PORT=
NNTP_SSLENABLED=false
NNTP_SOCKET_TIMEOUT=120