jgrusewski
1aafb46a1b
Wave 147 Phase 2: Fix .env loading in integration tests
## Problem
Integration tests failed to load JWT_SECRET from .env file, causing 19/49 E2E tests to fail with authentication errors.
## Root Cause
cargo test doesn't automatically load .env files. Tests need explicit dotenvy integration.
## Solution
1. Added dotenvy dependency to integration_tests/Cargo.toml
2. Added automatic .env loading to get_test_jwt_secret() function
3. Made .env loading idempotent (safe to call multiple times)
## Test Results
- Service Health: 26/26 passing (100%)
- Backtesting: 23/23 passing (100%)
- Total: 49/49 passing (100%)
## Files Modified
- services/integration_tests/Cargo.toml (+3 lines)
- services/integration_tests/tests/common/auth_helpers.rs (+3 lines)
## Agents
- Agent 401: .env loading fix
- Agent 402: Final E2E validation (100%)
- Agent 403: Git commit
🎉 Generated with Claude Code
2025-10-12 18:19:45 +02:00
..
2025-10-12 18:13:04 +02:00
2025-10-11 18:39:19 +02:00
2025-10-12 18:19:45 +02:00
2025-10-12 02:05:59 +02:00
2025-10-11 18:39:19 +02:00
2025-10-11 19:47:16 +02:00
2025-10-01 22:17:41 +02:00
2025-10-12 18:13:04 +02:00
2025-10-11 17:06:02 +02:00
2025-10-11 17:06:02 +02:00