1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00

fix broken test

This commit is contained in:
Darien Raymond 2017-11-20 11:27:41 +01:00
parent 9f146ac7d2
commit c51251bbdb
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -272,7 +272,7 @@ func TestHttpBasicAuth(t *testing.T) {
{ {
resp, err := client.Get("http://127.0.0.1:" + httpServerPort.String()) resp, err := client.Get("http://127.0.0.1:" + httpServerPort.String())
assert(err, IsNil) assert(err, IsNil)
assert(resp.StatusCode, Equals, 401) assert(resp.StatusCode, Equals, 407)
} }
{ {