(t *testing.T, plugins []PluginInfo)
| 143 | } |
| 144 | |
| 145 | func mockListPluginsEngine(t *testing.T, plugins []PluginInfo) string { |
| 146 | t.Helper() |
| 147 | socketPath := testhelper.RandomShortSocketName() |
| 148 | muxServer(t, socketPath, []handler{wrapHandler(pluginsv1connect.NewPluginManagementServiceHandler(&mockPluginsList{list: plugins}))}) |
| 149 | return socketPath |
| 150 | } |
| 151 | |
| 152 | func Test_ListPlugins(t *testing.T) { |
| 153 | t.Parallel() |
no test coverage detected