Ver Fonte

fix broken test

Darien Raymond há 8 anos atrás
pai
commit
c51251bbdb
1 ficheiros alterados com 1 adições e 1 exclusões
  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)
 		}
 
 		{