mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Fix testing on local database
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# ============================================
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user