diff --git a/web/metrics/main_test.go b/web/metrics/main_test.go index 56a490e..8b656a2 100644 --- a/web/metrics/main_test.go +++ b/web/metrics/main_test.go @@ -16,4 +16,9 @@ func TestMetricsLoaded(t *testing.T) { // GET s.Request(http.MethodGet, "/metrics", nil, http.StatusOK, nil) + + UP = func() bool { return false } + + // GET + s.Request(http.MethodGet, "/metrics", nil, http.StatusOK, nil) }