summaryrefslogtreecommitdiff
path: root/internal/cli/workers/command_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-03-06 12:13:02 +0100
committerValery Piashchynski <[email protected]>2022-03-06 12:13:02 +0100
commit70e4f020afd0352dc52114651f0f65c1965ed399 (patch)
treecc6595214e4ff39600099fb8c6f39e7a3dd560e9 /internal/cli/workers/command_test.go
parent587702be62b65c151d27dc79e62fcbbd11290e6f (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.go5
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