Explorar o código

fix broken test

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
c51251bbdb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      testing/scenarios/http_test.go

+ 1 - 1
testing/scenarios/http_test.go

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