File tree Expand file tree Collapse file tree
test/SEBT.Portal.Tests/Integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ public class PortalWebApplicationFactory : WebApplicationFactory<Program>
3434 "Oidc__ClientId" ,
3535 "Oidc__CallbackRedirectUri" ,
3636 "Oidc__CompleteLoginSigningKey" ,
37- "ConnectionStrings__Redis"
37+ "ConnectionStrings__Redis" ,
38+ "MinimumIal__ApplicationCases" ,
39+ "MinimumIal__CoLoadedStreamlineCases" ,
40+ "MinimumIal__NonCoLoadedStreamlineCases"
3841 ] ;
3942
4043
@@ -55,6 +58,11 @@ protected override void ConfigureWebHost(IWebHostBuilder builder)
5558 // Disable Redis so HybridCache uses in-memory only (no 5s timeout per op)
5659 Environment . SetEnvironmentVariable ( "ConnectionStrings__Redis" , "" ) ;
5760
61+ // MinimumIal settings are required — app fails to start without them
62+ Environment . SetEnvironmentVariable ( "MinimumIal__ApplicationCases" , "IAL1" ) ;
63+ Environment . SetEnvironmentVariable ( "MinimumIal__CoLoadedStreamlineCases" , "IAL1" ) ;
64+ Environment . SetEnvironmentVariable ( "MinimumIal__NonCoLoadedStreamlineCases" , "IAL1plus" ) ;
65+
5866 builder . ConfigureServices ( services =>
5967 {
6068 // Replace database services with no-op mocks so startup
You can’t perform that action at this time.
0 commit comments