projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build musl on develop
[akkoma]
/
test
/
pleroma
/
web
/
akkoma_api
/
metrics_controller_test.exs
diff --git
a/test/pleroma/web/akkoma_api/metrics_controller_test.exs
b/test/pleroma/web/akkoma_api/metrics_controller_test.exs
index 9482f1312d250e39348a2183e81565a1bcfc6ea5..4b096237c7ef9a545a4b2c0fde931ce5f5c94af2 100644
(file)
--- a/
test/pleroma/web/akkoma_api/metrics_controller_test.exs
+++ b/
test/pleroma/web/akkoma_api/metrics_controller_test.exs
@@
-5,6
+5,8
@@
defmodule Pleroma.Web.AkkomaAPI.MetricsControllerTest do
test "should return metrics when the user has admin:metrics" do
%{conn: conn} = oauth_access(["admin:metrics"])
+ Pleroma.PrometheusExporter.gather()
+
resp =
conn
|> get("/api/v1/akkoma/metrics")