Ziehe Meta-Tests fuer Player-Status nach

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jesko Anschütz 2026-03-22 18:42:11 +01:00
parent 1f4fa3d985
commit e219eac5d7

View file

@ -117,7 +117,7 @@ func TestRouterMeta(t *testing.T) {
t.Fatalf("api.health = %q, want %q", got, want) 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) 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 { 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) 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) { func TestRouterPlayerStatusRoute(t *testing.T) {