From 8ec1a98040b17ce50f45ea48b09bfae124689ff1 Mon Sep 17 00:00:00 2001 From: sunshineplan Date: Sun, 3 Dec 2017 10:45:26 +0800 Subject: [PATCH] update http connect test --- testing/scenarios/http_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/scenarios/http_test.go b/testing/scenarios/http_test.go index d0033deff..0e4752aef 100644 --- a/testing/scenarios/http_test.go +++ b/testing/scenarios/http_test.go @@ -284,7 +284,7 @@ func TestHttpBasicAuth(t *testing.T) { setProxyBasicAuth(req, "a", "c") resp, err := client.Do(req) assert(err, IsNil) - assert(resp.StatusCode, Equals, 401) + assert(resp.StatusCode, Equals, 407) } {