Update server tests

pull/10616/head
Andrew Watkins 2018-04-03 16:38:52 -07:00
parent d71763234a
commit e65d2d8b5e
2 changed files with 6 additions and 2 deletions

View File

@ -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"
}
}
]

View File

@ -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",
},
},
},