test: fix chromium-headless and issuer_url

fix for #25
This commit is contained in:
Paul Zinselmeyer 2025-04-18 16:10:16 +02:00
parent fa5faed004
commit 65cb175603
Signed by: pfzetto
GPG key ID: B471A1AF06C895FD
4 changed files with 5 additions and 10 deletions

View file

@ -2,9 +2,8 @@ use basic::run;
#[tokio::main]
async fn main() {
dotenvy::dotenv().ok();
let app_url = std::env::var("APP_URL").expect("APP_URL env variable");
let issuer = std::env::var("ISSUER").expect("ISSUER env variable");
let client_id = std::env::var("CLIENT_ID").expect("CLIENT_ID env variable");
let client_secret = std::env::var("CLIENT_SECRET").ok();
run(app_url, issuer, client_id, client_secret).await
run(issuer, client_id, client_secret).await
}