浏览代码

update http connect test

sunshineplan 8 年之前
父节点
当前提交
8ec1a98040
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 		}
 
 		{