diff --git a/cmd/archeio/app/handlers_test.go b/cmd/archeio/app/handlers_test.go index b95da58..5dedb08 100644 --- a/cmd/archeio/app/handlers_test.go +++ b/cmd/archeio/app/handlers_test.go @@ -32,6 +32,12 @@ func TestMakeHandler(t *testing.T) { ExpectedStatus int ExpectedURL string }{ + { + Name: "/", + Request: httptest.NewRequest("GET", "http://localhost:8080/", nil), + ExpectedStatus: http.StatusPermanentRedirect, + ExpectedURL: infoURL, + }, { Name: "/v3/", Request: httptest.NewRequest("GET", "http://localhost:8080/v3/", nil),