cli: POST /api/plugin-pages/arrange is named as the window's own (#6162)
16ed1a952 added the route (the sidebar's drag order of plugin pages,
saved to settings.PluginPageOrder) without naming it in the route map, so
TestEveryRouteHasACommandOrIsNamed was red on main from then on. Its
siblings (agents, usage, providers arrange) are W already.
Run on mote at this tree: go test -tags nogui -count=1 ./internal/cli ok
(42s). Without the line: TestEveryRouteHasACommandOrIsNamed red,
"POST /api/plugin-pages/arrange has no command".
This commit is contained in:
@@ -427,6 +427,7 @@ var notYet = map[string]string{
|
||||
"GET /api/plugin-pages": W, // pluginpage.go
|
||||
"GET /api/plugin-panels": W, // pluginpage.go
|
||||
"POST /api/plugin-pages/image": W, // pageimage.go
|
||||
"POST /api/plugin-pages/arrange": W, // pluginpage.go: the sidebar's order of plugin pages, dragged
|
||||
"POST /api/plugin-pages/options": W, // pluginpage.go
|
||||
"POST /api/plugin-pages/read": W, // pluginpage.go
|
||||
"GET /api/plugins/agents": P, // plugins.go
|
||||
|
||||
Reference in New Issue
Block a user