Test change
This commit is contained in:
+2
-1
@@ -634,7 +634,8 @@ mod tests {
|
|||||||
let resp =
|
let resp =
|
||||||
get_resp_data::<crate::callers::coverart::response::Response>(response).await;
|
get_resp_data::<crate::callers::coverart::response::Response>(response).await;
|
||||||
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
|
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
|
||||||
assert_eq!(false, resp.data[0].is_nil(), "Should not be empty");
|
let id = resp.data[0];
|
||||||
|
assert_eq!(false, id.is_nil(), "Should not be empty");
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
assert!(false, "Error: {:?}", err);
|
assert!(false, "Error: {:?}", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user