fix(tests): make sure those are used as optional
This commit is contained in:
parent
7b2f6c174d
commit
7a07bdc38b
|
|
@ -132,8 +132,8 @@ mod tests {
|
||||||
oidc_client_secret: Some("test-client-secret".to_string()),
|
oidc_client_secret: Some("test-client-secret".to_string()),
|
||||||
oidc_issuer_url: Some(mock_server.uri()),
|
oidc_issuer_url: Some(mock_server.uri()),
|
||||||
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
|
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
|
||||||
oidc_auto_register: true,
|
oidc_auto_register: Some(true),
|
||||||
allow_local_auth: true,
|
allow_local_auth: Some(true),
|
||||||
s3_enabled: false,
|
s3_enabled: false,
|
||||||
s3_config: None,
|
s3_config: None,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,8 @@ fn create_test_config_with_oidc(issuer_url: &str) -> Config {
|
||||||
oidc_client_secret: Some("test-client-secret".to_string()),
|
oidc_client_secret: Some("test-client-secret".to_string()),
|
||||||
oidc_issuer_url: Some(issuer_url.to_string()),
|
oidc_issuer_url: Some(issuer_url.to_string()),
|
||||||
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
|
oidc_redirect_uri: Some("http://localhost:8000/auth/oidc/callback".to_string()),
|
||||||
oidc_auto_register: true,
|
oidc_auto_register: Some(true),
|
||||||
allow_local_auth: true,
|
allow_local_auth: Some(true),
|
||||||
s3_enabled: false,
|
s3_enabled: false,
|
||||||
s3_config: None,
|
s3_config: None,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue