diff --git a/tests/integration_oidc_tests.rs b/tests/integration_oidc_tests.rs index 05553ba..e26d323 100644 --- a/tests/integration_oidc_tests.rs +++ b/tests/integration_oidc_tests.rs @@ -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, }; diff --git a/tests/unit_oidc_unit_tests.rs b/tests/unit_oidc_unit_tests.rs index 62e566e..0d5d25b 100644 --- a/tests/unit_oidc_unit_tests.rs +++ b/tests/unit_oidc_unit_tests.rs @@ -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, }