From e65d2d8b5efa211fa6d61562614737782287be66 Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Tue, 3 Apr 2018 16:38:52 -0700 Subject: [PATCH] Update server tests --- integrations/server_test.go | 6 ++++-- server/sources_test.go | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/integrations/server_test.go b/integrations/server_test.go index b4762d3446..ba0573cde4 100644 --- a/integrations/server_test.go +++ b/integrations/server_test.go @@ -114,7 +114,8 @@ func TestServer(t *testing.T) { "users": "/chronograf/v1/sources/5000/users", "roles": "/chronograf/v1/sources/5000/roles", "databases": "/chronograf/v1/sources/5000/dbs", - "annotations": "/chronograf/v1/sources/5000/annotations" + "annotations": "/chronograf/v1/sources/5000/annotations", + "health": "/chronograf/v1/sources/5000/health" } } `, @@ -300,7 +301,8 @@ func TestServer(t *testing.T) { "users": "/chronograf/v1/sources/5000/users", "roles": "/chronograf/v1/sources/5000/roles", "databases": "/chronograf/v1/sources/5000/dbs", - "annotations": "/chronograf/v1/sources/5000/annotations" + "annotations": "/chronograf/v1/sources/5000/annotations", + "health": "/chronograf/v1/sources/5000/health" } } ] diff --git a/server/sources_test.go b/server/sources_test.go index f0da2cc4d2..1842a1ae32 100644 --- a/server/sources_test.go +++ b/server/sources_test.go @@ -183,6 +183,7 @@ func Test_newSourceResponse(t *testing.T) { Permissions: "/chronograf/v1/sources/1/permissions", Databases: "/chronograf/v1/sources/1/dbs", Annotations: "/chronograf/v1/sources/1/annotations", + Health: "/chronograf/v1/sources/1/health", }, }, }, @@ -207,6 +208,7 @@ func Test_newSourceResponse(t *testing.T) { Permissions: "/chronograf/v1/sources/1/permissions", Databases: "/chronograf/v1/sources/1/dbs", Annotations: "/chronograf/v1/sources/1/annotations", + Health: "/chronograf/v1/sources/1/health", }, }, },