mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-16 19:50:10 +00:00
Fix integration tests: pre-configure admin authentication
Tests were timing out waiting for login form because fresh installations show the first-run setup screen instead. Adding PULSE_AUTH_USER and PULSE_AUTH_PASS environment variables pre-configures authentication and bypasses the setup screen, allowing tests to login directly. Related to #695
This commit is contained in:
parent
728a239753
commit
8f8def9ad0
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ services:
|
|||
- PULSE_LOG_LEVEL=debug
|
||||
# Mock mode for faster testing
|
||||
- PULSE_MOCK_MODE=true
|
||||
# Pre-configure authentication to bypass first-run setup
|
||||
- PULSE_AUTH_USER=admin
|
||||
- PULSE_AUTH_PASS=admin
|
||||
volumes:
|
||||
- test-data:/data
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue