From adcaa5b03f9c89608a28955eee53a8797d06b9ac Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Wed, 30 Jul 2025 14:31:10 -0400 Subject: [PATCH] Using different song for a test --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5859c35..f283560 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1954,6 +1954,10 @@ mod tests { uuid::Uuid::parse_str("44cf7940-34ff-489f-9124-d0ec90a55af9") } + pub async fn other_song_id() -> Result { + uuid::Uuid::parse_str("94cf7940-34ff-489f-9124-d0ec90a55af4") + } + pub async fn coverart_id() -> Result { uuid::Uuid::parse_str("996122cd-5ae9-4013-9934-60768d3006ed") } @@ -2145,7 +2149,7 @@ mod tests { let app = super::init::app(pool).await; - let id = test_data::song_id().await.unwrap(); + let id = test_data::other_song_id().await.unwrap(); let uri = super::format_url_with_value(crate::callers::endpoints::DELETESONG, &id).await;