cli tests: Discover's plugin counts and likes routes are named in notYet
13a9f1263added GET /api/plugins/counts and POST /api/plugins/like, with no command or notYet line, so TestEveryRouteHasACommandOrIsNamed went red again right after91d4eaa70. Both are plugin routes past what `magpie plugin` does (stage 2). Run on mote: go test -count=1 ./internal/cli/ ok at 13a9f1263's child91d4eaa70plus this; red on91d4eaa70alone, naming the two routes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user