mirror of https://github.com/v2ray/v2ray-core
fix broken test
parent
9f146ac7d2
commit
c51251bbdb
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue