Update server tests
parent
d71763234a
commit
e65d2d8b5e
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue