tsk-205: Code formatting
This commit is contained in:
+8
-6
@@ -337,7 +337,6 @@ mod tests {
|
||||
|
||||
use crate::db;
|
||||
|
||||
|
||||
mod db_mgr {
|
||||
use std::str::FromStr;
|
||||
|
||||
@@ -873,7 +872,6 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// TODO: Change the name of the function to be more expressive and put into it's own module
|
||||
pub mod payload_data {
|
||||
pub async fn queue_metadata_payload_data(song_queue_id: &uuid::Uuid) -> serde_json::Value {
|
||||
@@ -2319,7 +2317,8 @@ mod tests {
|
||||
let (id, _, _, _) = test_data::song_id().await.unwrap();
|
||||
|
||||
let uri =
|
||||
super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADSONG, &id).await;
|
||||
super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADSONG, &id)
|
||||
.await;
|
||||
|
||||
match app
|
||||
.clone()
|
||||
@@ -2377,8 +2376,10 @@ mod tests {
|
||||
|
||||
let id = test_data::coverart_id().await.unwrap();
|
||||
|
||||
let uri =
|
||||
super::util::format_url_with_value(crate::callers::endpoints::DOWNLOADCOVERART, &id)
|
||||
let uri = super::util::format_url_with_value(
|
||||
crate::callers::endpoints::DOWNLOADCOVERART,
|
||||
&id,
|
||||
)
|
||||
.await;
|
||||
|
||||
match app
|
||||
@@ -2505,7 +2506,8 @@ mod tests {
|
||||
.unwrap();
|
||||
|
||||
let uri =
|
||||
super::util::format_url_with_value(crate::callers::endpoints::DELETESONG, &id).await;
|
||||
super::util::format_url_with_value(crate::callers::endpoints::DELETESONG, &id)
|
||||
.await;
|
||||
|
||||
match app
|
||||
.clone()
|
||||
|
||||
Reference in New Issue
Block a user