cli tests: plugins/probe and Bark's two routes are named in notYet
TestEveryRouteHasACommandOrIsNamed was red on origin/main:6af54dc9aadded POST /api/library/plugins/probe and71c4ef2d0added POST /api/settings/bark and POST /api/bark/test, none with a command or a notYet line. plugins/probe goes with skills/probe (stage 3, the library); Bark's server, key, daily time and test push are a setting with its own route (stage 2). Run on mote (macOS 27, Go 1.26.8): go test -count=1 ./internal/cli/ ok at6fa02550aplus this. Without it, the test fails naming the three routes.
This commit is contained in:
@@ -266,6 +266,8 @@ var notYet = map[string]string{
|
||||
"POST /api/proxy/check": S2, // api.go
|
||||
"POST /api/set": S2, // api.go
|
||||
"POST /api/settings/agent-telemetry": A, // api.go
|
||||
"POST /api/settings/bark": S2, // api.go: Bark server, key and daily time
|
||||
"POST /api/bark/test": S2, // api.go: a test push to Bark
|
||||
"POST /api/settings/allowips": S2, // api.go
|
||||
"POST /api/settings/bare-ids": S2, // api.go
|
||||
"POST /api/settings/busy-load": S2, // api.go
|
||||
@@ -390,6 +392,7 @@ var notYet = map[string]string{
|
||||
"POST /api/library/rtk/upgrade": L, // library.go
|
||||
"POST /api/library/skills/check": L, // library.go
|
||||
"POST /api/library/skills/probe": L, // library.go
|
||||
"POST /api/library/plugins/probe": L, // library.go
|
||||
"GET /api/memory": L, // memory.go
|
||||
"POST /api/memory": L, // memory.go
|
||||
"POST /api/memory/digest": L, // memory.go
|
||||
|
||||
Reference in New Issue
Block a user