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:
parent
1f4fa3d985
commit
e219eac5d7
1 changed files with 5 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue