Commit Graph

2 Commits

Author SHA1 Message Date
Denis Urs Rudolph fafafae5d1 Fix integration tests - shared database across test classes
- Update CustomWebApplicationFactory to use static database name
- Ensure all tests share the same in-memory database instance
- This fixes authentication flow tests where registration must persist for login
- All 12 integration tests now pass
2026-04-09 21:20:06 +02:00
Denis Urs Rudolph 0cdb391393 Fix integration test infrastructure
- Create CustomWebApplicationFactory to properly handle DI
- Fix IntegrationTestBase to use proper service scope pattern
- Update AuthIntegrationTests and EventsIntegrationTests to use CustomWebApplicationFactory
- Resolve EF Core provider conflict by using ConfigureWebHost override

Tests now run: 7 passed, 6 failed (auth/response format issues)
2026-04-09 21:11:03 +02:00