cli tests: POST /api/warm-all is named with warm-now, as stage 3 (#6724)
5bd41301badded 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/main62ced98cc): go test ./internal/cli/ ok (43s). Broken by hand (the line taken out): TestEveryRouteHasACommandOrIsNamed red, as on5bd41301b. gofmt -l clean. Not run: the full ./... suite (a one-line test-table entry).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user