From e5934cef1f21817491622e62b761b01029e7faa1 Mon Sep 17 00:00:00 2001 From: epi Date: Sat, 12 Dec 2020 18:01:46 -0600 Subject: [PATCH] fixed response code in test_scanner --- tests/test_scanner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scanner.rs b/tests/test_scanner.rs index 4b314d4..6fd7723 100644 --- a/tests/test_scanner.rs +++ b/tests/test_scanner.rs @@ -312,7 +312,7 @@ fn scanner_single_request_returns_301_without_location_header( let mock = srv.mock(|when, then| { when.method(GET).path("/LICENSE"); - then.status(200).body("this is a test"); + then.status(301).body("this is a test"); }); let cmd = Command::cargo_bin("feroxbuster")