api tests

pull/659/head
hunterlong 2020-06-12 21:12:31 -07:00
parent e27b8de55e
commit 6da15a570a
1 changed files with 5 additions and 3 deletions

View File

@ -246,9 +246,11 @@ func TestMainApiRoutes(t *testing.T) {
AfterTest: UnsetTestENV,
ExpectedStatus: 200,
ExpectedContains: []string{
`Statping Totals`,
`total_failures`,
`Golang Metrics`,
`go_goroutines`,
`go_memstats_alloc_bytes`,
`http_duration_seconds_count`,
`http_response_bytes_count`,
`service_request_duration_count`,
},
},
}