This commit is contained in:
@@ -17,7 +17,6 @@ type Module struct {
|
||||
func New(logFiles map[string][]string) *Module { return &Module{logFiles: logFiles} }
|
||||
|
||||
func (m *Module) ID() string { return ModuleID }
|
||||
func (m *Module) Name() string { return "Services" }
|
||||
|
||||
// Permissions: read to list and inspect units; write to control them
|
||||
// (start/stop/restart/enable/disable).
|
||||
|
||||
@@ -16,13 +16,6 @@ import (
|
||||
"github.com/danielgtaylor/huma/v2/humatest"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if oscmd.RunHelperProcess() {
|
||||
return
|
||||
}
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
||||
func TestServicesHandlers(t *testing.T) {
|
||||
mux := http.NewServeMux()
|
||||
api := humatest.Wrap(t, humago.New(mux, huma.DefaultConfig("Test", "1.0.0")))
|
||||
|
||||
Reference in New Issue
Block a user