(t *testing.T, version, date, commitHash string)
| 54 | } |
| 55 | |
| 56 | func mockVersionEngine(t *testing.T, version, date, commitHash string) string { |
| 57 | t.Helper() |
| 58 | socketPath := testhelper.RandomShortSocketName() |
| 59 | muxServer(t, socketPath, []handler{wrapHandler(healthv1connect.NewVersionServiceHandler(&mockVersionService{version: version, date: date, commitHash: commitHash}))}) |
| 60 | return socketPath |
| 61 | } |
| 62 | |
| 63 | var _ pluginsv1connect.PluginManagementServiceHandler = &mockPluginsList{} |
| 64 |
no test coverage detected