Skip to content

Commit

Permalink
fix(tests): Fix instant cookie deletion on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flo-ride committed Nov 15, 2024
1 parent 07f4e7a commit ad2b88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/basics_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ad2b88f

Please sign in to comment.