cli tests: POST /api/warm-all is named with warm-now, as stage 3 (#6724)

5bd41301b added POST /api/warm-all (All accounts warms every account in
use) and left TestEveryRouteHasACommandOrIsNamed red: the route had no
command and no name. Its sibling POST /api/warm-now waits for a command
in stage 3; warm-all goes beside it the same way.

Run (mica, at origin/main 62ced98cc): go test ./internal/cli/ ok (43s).
Broken by hand (the line taken out): TestEveryRouteHasACommandOrIsNamed
red, as on 5bd41301b. gofmt -l clean.
Not run: the full ./... suite (a one-line test-table entry).
This commit is contained in:
yetone
2026-11-15 12:30:18 +08:00
parent 62ced98ccd
commit 72418591f0
+1
View File
@@ -337,6 +337,7 @@ var notYet = map[string]string{
"POST /api/settings/update-skip": S2, // api.go
"POST /api/settings/workbuddy-checkin": S2, // api.go
"POST /api/usage/arrange": W, // api.go
"POST /api/warm-all": A, // api.go: All accounts warms every account in use (5bd41301b)
"POST /api/warm-now": A, // api.go
"POST /api/window/{action}": W, // api.go
"GET /api/autobackup": S2, // backup.go: Back up by itself