update dependencies

This commit is contained in:
Paul Zinselmeyer 2025-01-12 22:37:30 +01:00
parent e86842c104
commit 74551fb479
Signed by: pfzetto
GPG key ID: B471A1AF06C895FD
5 changed files with 51 additions and 48 deletions

View file

@ -2,7 +2,6 @@ mod keycloak;
use headless_chrome::Browser;
use log::info;
use testcontainers::*;
use crate::keycloak::{Client, Keycloak, Realm, User};
@ -10,8 +9,6 @@ use crate::keycloak::{Client, Keycloak, Realm, User};
async fn first() {
env_logger::init();
let docker = clients::Cli::default();
let alice = User {
username: "alice".to_string(),
email: "alice@example.com".to_string(),
@ -25,14 +22,11 @@ async fn first() {
client_secret: Some("123456".to_string()),
};
let keycloak = Keycloak::start(
vec![Realm {
name: "test".to_string(),
users: vec![alice.clone()],
clients: vec![basic_client.clone()],
}],
&docker,
)
let keycloak = Keycloak::start(vec![Realm {
name: "test".to_string(),
users: vec![alice.clone()],
clients: vec![basic_client.clone()],
}])
.await;
info!("starting basic example app");