cli test: POST /api/quit/disconnect is the window's own (#6786)

261f48226 added the Quit question's Disconnect and quit route without naming it in the CLI parity list, and TestEveryRouteHasACommandOrIsNamed has been red on main since (CI at 0ffb21f83, ubuntu and macOS). It quits the app, so it is the window's own, beside GET /api/quit.

Run at origin/main f9807c5e8 plus this: go test -tags nogui -count=1 -run TestEveryRouteHasACommandOrIsNamed ./internal/cli on mote ok (red at 0ffb21f83 on CI); the whole internal/cli package on mica ok (44s). gofmt -l clean.
This commit is contained in:
yetone
2026-11-16 01:12:39 +08:00
parent f9807c5e84
commit ec5b96c44f
+1
View File
@@ -255,6 +255,7 @@ var notYet = map[string]string{
"GET /api/appearance/wallpaper": W, // appearance.go
"POST /api/appearance/wallpaper": W, // appearance.go: the picture comes from the window's file picker
"GET /api/quit": W, // api.go: the window's Quit question
"POST /api/quit/disconnect": W, // api.go: the Quit question's Disconnect and quit, which quits the app
"POST /api/page-away": W, // api.go: the page says it went from view, so its caches can go
"GET /api/remote": W, // remote.go: another magpie opened in a window of the app
"POST /api/remote": W, // remote.go