diff options
Diffstat (limited to '')
-rw-r--r-- | tests/archive.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/archive.rs b/tests/archive.rs index e4cca81..37da0e3 100644 --- a/tests/archive.rs +++ b/tests/archive.rs @@ -42,6 +42,11 @@ fn archives_are_disabled(tmpdir: TempDir, port: u16) -> Result<(), Error> { .status(), StatusCode::FORBIDDEN ); + assert_eq!( + reqwest::blocking::get(format!("http://localhost:{}/?download=zip", port).as_str())? + .status(), + StatusCode::FORBIDDEN + ); child.kill()?; |