aboutsummaryrefslogtreecommitdiffstats
path: root/web/routing_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/routing_test.go')
-rw-r--r--web/routing_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/routing_test.go b/web/routing_test.go
index 972b208..a7c5c37 100644
--- a/web/routing_test.go
+++ b/web/routing_test.go
@@ -36,6 +36,13 @@ func TestRouting(t *testing.T) {
containsBody: "<!doctype html>",
},
{
+ name: "/v3/ serves v3 UI",
+ path: "/v3/",
+ method: "GET",
+ expectedStatus: http.StatusOK,
+ containsBody: "<!doctype html>",
+ },
+ {
name: "/v1/ redirects unauthenticated",
path: "/v1/",
method: "GET",