cli: the Usage page's switched-off check-ins route is named (wxkwxk666 on X)
5d54a990d added GET /api/usage/checkins/off and left it out of the
CLI parity list, so TestEveryRouteHasACommandOrIsNamed went red on main
(seen in that commit's full suite on mote). It is named in notYet as a
Usage page read; `magpie accounts checkin` already checks in every
account, as for POST /api/usage/checkin-account.
Run, on mote: go test -run TestEveryRouteHasACommandOrIsNamed
./internal/cli, red at 5d54a990d's full suite, ok with this line.
This commit is contained in:
@@ -512,6 +512,7 @@ var notYet = map[string]string{
|
||||
"POST /api/tune/apply": U, // tune.go
|
||||
"POST /api/tune/undo": U, // tune.go
|
||||
"POST /api/uninstall/finish": A, // uninstall.go
|
||||
"GET /api/usage/checkins/off": U, // usage.go: the Usage page's switched-off check-ins; `magpie accounts checkin` does every account
|
||||
"GET /api/usage/deleted/into": U, // usage.go
|
||||
"GET /api/usage/heatmap": U, // usage.go
|
||||
"GET /api/usage/quotas/history/holds": U, // usage.go
|
||||
|
||||
Reference in New Issue
Block a user