Update song queue changes (#145)
* Updated gitignore to disregard some .env files
.env.docker and .env.local. Primarily used for switching between local and docker development
* Changed PATCH /api/v2/song/queue/{id} endpoint
Modified the response body. Will just return a list of song queue id
* Adding some helpful info for the response body
* Tidying up and making some changes
* Code formatting
This commit was merged in pull request #145.
This commit is contained in:
@@ -822,6 +822,13 @@ mod tests {
|
||||
resp.data.is_empty(),
|
||||
"Should not be empty"
|
||||
);
|
||||
|
||||
let updated_song_queued_id = resp.data[0];
|
||||
assert_eq!(
|
||||
updated_song_queued_id, *id,
|
||||
"Song queue Id should match, but they don't. {:?} {:?}",
|
||||
updated_song_queued_id, id
|
||||
);
|
||||
}
|
||||
Err(err) => {
|
||||
assert!(false, "Error: {:?}", err);
|
||||
|
||||
Reference in New Issue
Block a user