Use multiple files in tests #168

Merged
kdeng00 merged 8 commits from use_multiple_files_in_tests into v0.2 2025-07-30 15:28:47 -04:00
Showing only changes of commit adcaa5b03f - Show all commits
+5 -1
View File
@@ -1954,6 +1954,10 @@ mod tests {
uuid::Uuid::parse_str("44cf7940-34ff-489f-9124-d0ec90a55af9")
}
pub async fn other_song_id() -> Result<uuid::Uuid, uuid::Error> {
uuid::Uuid::parse_str("94cf7940-34ff-489f-9124-d0ec90a55af4")
}
pub async fn coverart_id() -> Result<uuid::Uuid, uuid::Error> {
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;