From e219eac5d7ea0fd2f667af09bac20a69b9b49f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesko=20Ansch=C3=BCtz?= Date: Sun, 22 Mar 2026 18:42:11 +0100 Subject: [PATCH] Ziehe Meta-Tests fuer Player-Status nach Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- server/backend/internal/httpapi/router_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/backend/internal/httpapi/router_test.go b/server/backend/internal/httpapi/router_test.go index 606d02d..423d2de 100644 --- a/server/backend/internal/httpapi/router_test.go +++ b/server/backend/internal/httpapi/router_test.go @@ -117,7 +117,7 @@ func TestRouterMeta(t *testing.T) { t.Fatalf("api.health = %q, want %q", got, want) } - if got, want := len(response.API.Tools), 3; got != want { + if got, want := len(response.API.Tools), 4; got != want { t.Fatalf("len(api.tools) = %d, want %d", got, want) } @@ -132,6 +132,10 @@ func TestRouterMeta(t *testing.T) { if got, want := response.API.Tools[2].Path, "/api/v1/screens/{screenId}/status"; got != want { t.Fatalf("api.tools[2].path = %q, want %q", got, want) } + + if got, want := response.API.Tools[3].Path, "/api/v1/player/status"; got != want { + t.Fatalf("api.tools[3].path = %q, want %q", got, want) + } } func TestRouterPlayerStatusRoute(t *testing.T) {