cli test: POST /api/quit/disconnect is the window's own (#6786)
261f48226added 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 at0ffb21f83, ubuntu and macOS). It quits the app, so it is the window's own, beside GET /api/quit. Run at origin/mainf9807c5e8plus this: go test -tags nogui -count=1 -run TestEveryRouteHasACommandOrIsNamed ./internal/cli on mote ok (red at0ffb21f83on CI); the whole internal/cli package on mica ok (44s). gofmt -l clean.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user