Procházet zdrojové kódy

update http connect test

sunshineplan před 8 roky
rodič
revize
8ec1a98040
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)
 		}
 
 		{