cli tests: POST /api/providers/delete is magpie provider rm (#6677)

90efddaba added the window's batch removal without naming it in
cliForRoute or notYet, so TestEveryRouteHasACommandOrIsNamed has been red
on main since 14:31 UTC (ubuntu and macOS CI at 0b8c4bfc3). The CLI's
removal is `magpie provider rm <id>`, one provider at a time.

Run (mote): go test -tags nogui -count=1 ./internal/cli at origin/main
91d27452b plus this: ok (67s). Red without it at 0b8c4bfc3, in #6677.
Not run: the rest of the suite; only a test table changes.
This commit is contained in:
yetone
2026-11-15 00:52:12 +08:00
parent 91d27452b7
commit 4c86b0ab47
+1
View File
@@ -217,6 +217,7 @@ var cliForRoute = map[string]string{
"GET /api/login/usage": "magpie quota",
"GET /api/providers": "magpie providers",
"POST /api/provider/{action}": "magpie provider",
"POST /api/providers/delete": "magpie provider rm",
"GET /api/sessions/reads": "magpie sessions read",
"POST /api/sessions/reads": "magpie sessions read",
"GET /api/sessions": "magpie sessions",