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:
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
Block a user