fix(tests): resolve this test as well

This commit is contained in:
perf3ct 2025-07-18 19:57:24 +00:00
parent 41d8524714
commit a38d100023
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ impl AdminTestClient {
async fn setup_admin(&mut self) -> Result<String, Box<dyn std::error::Error>> {
// Create an admin user through test utils
let admin_user = self.auth_helper.create_admin_user().await;
let token = self.auth_helper.login_user(&admin_user.username, "password123").await;
let token = self.auth_helper.login_user(&admin_user.username, "adminpass123").await;
self.admin_token = Some(token.clone());
self.admin_user_id = Some(admin_user.user_response.id);