Explorar o código

update http connect test

sunshineplan %!s(int64=8) %!d(string=hai) anos
pai
achega
8ec1a98040
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      testing/scenarios/http_test.go

+ 1 - 1
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)
 		}
 
 		{