From db9f0652a8fba9a916efcaebb74ba85cf35f6212 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 10 Nov 2026 19:56:33 +0800 Subject: [PATCH] cli: name /api/gateway/pause with the gateway's restart and take-over e8fbee60e added POST /api/gateway/pause with no command and no notYet line, so TestEveryRouteHasACommandOrIsNamed was red at 18c932385: "POST /api/gateway/pause has no command". It waits for stage 3 beside /api/gateway/restart and take-over. Run on magpie-desktop: go test -tags nogui -run TestEveryRouteHasACommandOrIsNamed ./internal/cli red at 18c932385 with that line, ok with this. --- 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 d5fdbda1b..23b7809f1 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -337,6 +337,7 @@ var notYet = map[string]string{ "POST /api/dev/import": W, // dev_on.go "GET /api/fonts": W, // fonts.go "POST /api/settings/gateway-mode": S2, // gatewaymode.go + "POST /api/gateway/pause": A, // gatewaypause.go "POST /api/gateway/restart": A, // gateway_takeover.go "POST /api/gateway/take-over": A, // gateway_takeover.go "GET /api/importapps": P, // importapps.go