cli tests: Discover's plugin counts and likes routes are named in notYet

13a9f1263 added GET /api/plugins/counts and POST /api/plugins/like,
with no command or notYet line, so TestEveryRouteHasACommandOrIsNamed
went red again right after 91d4eaa70. Both are plugin routes past what
`magpie plugin` does (stage 2).

Run on mote: go test -count=1 ./internal/cli/ ok at 13a9f1263's child
91d4eaa70 plus this; red on 91d4eaa70 alone, naming the two routes.
This commit is contained in:
yetone
2026-11-11 04:30:32 +08:00
parent 91d4eaa70a
commit 966ddff209
+2
View File
@@ -331,6 +331,8 @@ var notYet = map[string]string{
"POST /api/web-page": W, // apppage.go
"GET /api/plugins/builtin": P, // builtins.go
"POST /api/plugins/builtin": P, // builtins.go
"GET /api/plugins/counts": P, // plugins_counts.go: Discover's installs and likes
"POST /api/plugins/like": P, // plugins_counts.go
"GET /api/library/browser": L, // browser.go
"POST /api/library/browser/setup": L, // browser.go
"POST /api/library/browser/drag": L, // browser.go