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
This commit is contained in:
Denis Urs Rudolph
2026-04-09 21:20:06 +02:00
parent 0cdb391393
commit fafafae5d1
14 changed files with 12 additions and 6 deletions
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+13c9c8aa68a452b4b3b25844b868cc510dea3c8b")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0cdb391393b6f5c852bac323aaec416cb757093e")]
[assembly: System.Reflection.AssemblyProductAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyTitleAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]