From ca85a5d46dce29cb5350c0c165b283214c651c3b Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Thu, 22 May 2025 16:12:48 -0400 Subject: [PATCH] Test is operational --- src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8e9a2bc..8d01730 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1154,12 +1154,12 @@ mod tests { .body(axum::body::Body::from_stream(body)) .unwrap() ).await { - Ok(_) => { - let resp = get_resp_data::< - crate::callers::song::response::fetch_queue_song::Response, - >(response) - .await; - assert_eq!(false, resp.data.is_empty(), "Should not be empty"); + Ok(response) => { + let resp = get_resp_data::< + crate::callers::song::response::update_song_queue::Response, + >(response) + .await; + assert_eq!(false, resp.data.is_empty(), "Should not be empty"); } Err(err) => { assert!(false, "Error: {:?}", err);