cli tests: plugins/probe and Bark's two routes are named in notYet

TestEveryRouteHasACommandOrIsNamed was red on origin/main: 6af54dc9a
added POST /api/library/plugins/probe and 71c4ef2d0 added 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
at 6fa02550a plus this. Without it, the test fails naming the three
routes.
This commit is contained in:
yetone
2026-11-11 04:28:31 +08:00
parent 13a9f1263a
commit 91d4eaa70a
+3
View File
@@ -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