Commit Graph

2 Commits

Author SHA1 Message Date
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
Denis Urs Rudolph 3421818d41 Add integration test infrastructure
- Create backend integration test project with xUnit
- Add required packages: TestHost, Mvc.Testing, EF InMemory, FluentAssertions
- Add project reference to backend API
- Create IntegrationTestBase class with WebApplicationFactory setup
- Install Supertest for HTTP integration testing
2026-04-08 20:23:48 +02:00