From 4c86b0ab4761d12c1aefd676743d2095d6f33287 Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 15 Nov 2026 00:52:12 +0800 Subject: [PATCH] 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 `, 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. --- internal/cli/settings_parity_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/settings_parity_test.go b/internal/cli/settings_parity_test.go index c70966866..76718001a 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -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",