cli: Check in now for one account is named in notYet, beside the per-vendor check-ins (#4826)

TestEveryRouteHasACommandOrIsNamed was red on main since e87140242 added
POST /api/usage/checkin-account (Settings' Check in now for one account)
with neither a command in cliForRoute nor a notYet entry. No command
checks in a single account: `magpie accounts checkin` checks in every
account, and the per-vendor routes it covers (minimax-, plugin-, qoder-,
trae-checkin) are already in notYet under stage 3, so this one joins them.

Run at dfd3b720b (origin/main) on mote: go test -tags nogui -count=1
./internal/cli/ ok (100.6s). Without this line the test fails with
"POST /api/usage/checkin-account has no command" (the red on main, #4826).
gofmt -l internal/cli clean. Not tried: nothing outside internal/cli; the
change is a test-only map entry.
This commit is contained in:
yetone
2026-11-03 02:44:33 +08:00
parent 8f128877ae
commit 8abdf53a88
+1
View File
@@ -374,6 +374,7 @@ var notYet = map[string]string{
"GET /api/usage/quotas/history/holds": U, // usage.go
"GET /api/usage/requests": U, // usage.go
"GET /api/usage/requests/content": U, // usage.go
"POST /api/usage/checkin-account": U, // usage.go: one account now; `magpie accounts checkin` does every account
"POST /api/usage/clear": U, // usage.go
"POST /api/usage/codex-reset": U, // usage.go
"POST /api/usage/deleted": U, // usage.go