fix(tests): update tests for granular auth toggles

- Add new fields to AppConfig type and buildAppConfig factory
- Update FE-PAGE-ADMIN-018: heading changed to "Authentication Methods"
- Update FE-PAGE-ADMIN-053: oidc_only toggle removed from OIDC panel
- Update FE-PAGE-LOGIN-007/017: mocks now include password_login/oidc_login
- Update ADMIN-SVC-049: updateOidcSettings no longer writes oidc_only
This commit is contained in:
jubnl
2026-04-11 20:30:30 +02:00
parent bfd2553d1e
commit 47d9cce936
5 changed files with 27 additions and 21 deletions
+6
View File
@@ -283,6 +283,12 @@ export function buildAppConfig(overrides: Partial<AppConfig> = {}): AppConfig {
allow_registration: true,
demo_mode: false,
oidc_configured: false,
oidc_only_mode: false,
password_login: true,
password_registration: true,
oidc_login: true,
oidc_registration: true,
env_override_oidc_only: false,
...overrides,
};
}