From 2da516f85a8cf89859fbacaed96313a3c26b96b8 Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 1 Jul 2026 22:35:25 -0400 Subject: [PATCH] cargo fmt --- tests/tests.rs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tests/tests.rs b/tests/tests.rs index 5bac1cd..ba88e04 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -231,8 +231,10 @@ pub mod requests { app: &axum::Router, user_id: &uuid::Uuid, ) -> Result { - - let url = super::util::format_url_with_value(textsender_auth::callers::endpoints::GET_USER_PROFILE, user_id); + let url = super::util::format_url_with_value( + textsender_auth::callers::endpoints::GET_USER_PROFILE, + user_id, + ); match axum::http::Request::builder() .method(axum::http::Method::GET) .uri(url) @@ -1061,11 +1063,18 @@ async fn test_get_user_profile() { match requests::get_user_profile(&app, &user_id).await { Ok(response) => { - match util::convert_response::(response).await { + match util::convert_response::< + textsender_auth::callers::login::response::GetUserProfileResponse, + >(response) + .await + { Ok(response) => { assert_eq!(false, response.data.is_empty(), "No User Profile found"); let user_profile = &response.data[0]; - assert_eq!(TEST_USERNAME, user_profile.username, "Username does not match"); + assert_eq!( + TEST_USERNAME, user_profile.username, + "Username does not match" + ); } Err(err) => { assert!(false, "Error: {err:?}");