fix(tests): make sure those are used as optional

This commit is contained in:
aaldebs99 2025-10-11 21:47:30 +00:00
parent 7b2f6c174d
commit 7a07bdc38b
2 changed files with 4 additions and 4 deletions

View File

@ -132,8 +132,8 @@ mod tests {
oidc_client_secret: Some("test-client-secret".to_string()),
oidc_issuer_url: Some(mock_server.uri()),
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
oidc_auto_register: true,
allow_local_auth: true,
oidc_auto_register: Some(true),
allow_local_auth: Some(true),
s3_enabled: false,
s3_config: None,
};

View File

@ -26,8 +26,8 @@ fn create_test_config_with_oidc(issuer_url: &str) -> Config {
oidc_client_secret: Some("test-client-secret".to_string()),
oidc_issuer_url: Some(issuer_url.to_string()),
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
oidc_auto_register: true,
allow_local_auth: true,
oidc_auto_register: Some(true),
allow_local_auth: Some(true),
s3_enabled: false,
s3_config: None,
}