diff --git a/tests/basics_tests.rs b/tests/basics_tests.rs index 6988852..0c0aa9a 100644 --- a/tests/basics_tests.rs +++ b/tests/basics_tests.rs @@ -57,6 +57,7 @@ async fn basic_login_oidc() { arguments.openid_issuer = issuer.clone(); arguments.openid_client_id = basic_client.client_id; arguments.openid_client_secret = basic_client.client_secret; + arguments.openid_token_duration = std::time::Duration::from_secs(360); arguments.backend_url = "http://localhost:3000".to_string(); arguments.frontend_url = "http://localhost:5173".to_string(); arguments.database_url = db_url.to_string(); diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index 83870ab..59fd00e 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -57,6 +57,7 @@ pub async fn create_basic_session( arguments.openid_issuer = issuer.clone(); arguments.openid_client_id = realm.clients[0].client_id.clone(); arguments.openid_client_secret = realm.clients[0].client_secret.clone(); + arguments.openid_token_duration = std::time::Duration::from_secs(360); arguments.backend_url = "http://localhost:3000".to_string(); arguments.frontend_url = "http://localhost:5173".to_string(); arguments.database_url = db_url.to_string();