diff options
author | Valery Piashchynski <[email protected]> | 2022-03-06 12:13:02 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-03-06 12:13:02 +0100 |
commit | 70e4f020afd0352dc52114651f0f65c1965ed399 (patch) | |
tree | cc6595214e4ff39600099fb8c6f39e7a3dd560e9 /internal/cli/workers/command_test.go | |
parent | 587702be62b65c151d27dc79e62fcbbd11290e6f (diff) |
remove config plugin usage from the root
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal/cli/workers/command_test.go')
-rw-r--r-- | internal/cli/workers/command_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/cli/workers/command_test.go b/internal/cli/workers/command_test.go index d0c92e63..a3d144df 100644 --- a/internal/cli/workers/command_test.go +++ b/internal/cli/workers/command_test.go @@ -5,19 +5,18 @@ import ( "github.com/roadrunner-server/roadrunner/v2/internal/cli/workers" - "github.com/roadrunner-server/config/v2" "github.com/stretchr/testify/assert" ) func TestCommandProperties(t *testing.T) { - cmd := workers.NewCommand(&config.Plugin{}) + cmd := workers.NewCommand(nil) assert.Equal(t, "workers", cmd.Use) assert.NotNil(t, cmd.RunE) } func TestCommandFlags(t *testing.T) { - cmd := workers.NewCommand(&config.Plugin{}) + cmd := workers.NewCommand(nil) cases := []struct { giveName string |