mirror of https://github.com/perkeep/perkeep.git
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:
parent
0ff6a4954e
commit
c25b330d8d
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue