test/integration: fix tests after earlier change to root handler

In f8bc4ac6e5 I made the root handler start returning 404s for
unknown URLs, which broke this test. Update this tests.

Fixes #1132

Change-Id: I6e14811dda00e741d80e1c5603f849ffcb26f361
This commit is contained in:
Brad Fitzpatrick 2018-04-29 10:15:21 -07:00
parent 0ff6a4954e
commit c25b330d8d
1 changed files with 5 additions and 4 deletions

View File

@ -123,10 +123,11 @@ func TestWebsocketQuery(t *testing.T) {
func TestInternalHandler(t *testing.T) {
w := test.GetWorld(t)
tests := map[string]int{
"/no-http-storage/": 401,
"/no-http-handler/": 401,
"/good-status/": 200,
"/bs-and-maybe-also-index/camli": 400,
"/": 200,
"/test-that-root-handler-returns-404": 404,
"/no-http-storage/": 401,
"/no-http-handler/": 401,
"/bs-and-maybe-also-index/camli": 400,
"/bs/camli/sha1-b2201302e129a4396a323cb56283cddeef11bbe8": 404,
"/no-http-storage/camli/sha1-b2201302e129a4396a323cb56283cddeef11bbe8": 401,
}