mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Fixed expected HTTP response
This commit is contained in:
parent
7aabd6b15e
commit
b24e6e077d
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ fn serve() {
|
|||
let mut response = client.get("/api/serve/collection%2FKhemmis%2FHunted%2F02%20-%20Candlelight.mp3")
|
||||
.header(Range::bytes(100, 299))
|
||||
.dispatch();
|
||||
assert_eq!(response.status(), Status::Ok);
|
||||
assert_eq!(response.status(), Status::PartialContent);
|
||||
let body = response.body().unwrap();
|
||||
let body = body.into_bytes().unwrap();
|
||||
assert_eq!(body.len(), 200);
|
||||
|
|
Loading…
Reference in a new issue