diff options
Diffstat (limited to 'tests/plugins/config/config_test.go')
-rwxr-xr-x | tests/plugins/config/config_test.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/plugins/config/config_test.go b/tests/plugins/config/config_test.go index 3cf026bd..b6063cec 100755 --- a/tests/plugins/config/config_test.go +++ b/tests/plugins/config/config_test.go @@ -7,7 +7,6 @@ import ( "time" endure "github.com/spiral/endure/pkg/container" - "github.com/spiral/roadrunner/v2/plugins/channel" "github.com/spiral/roadrunner/v2/plugins/config" "github.com/spiral/roadrunner/v2/plugins/logger" "github.com/spiral/roadrunner/v2/plugins/rpc" @@ -34,11 +33,6 @@ func TestViperProvider_Init(t *testing.T) { t.Fatal(err) } - err = container.Register(&channel.Plugin{}) - if err != nil { - t.Fatal(err) - } - err = container.Init() if err != nil { t.Fatal(err) @@ -88,7 +82,6 @@ func TestConfigOverwriteFail(t *testing.T) { &rpc.Plugin{}, vp, &Foo2{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -110,7 +103,6 @@ func TestConfigOverwriteValid(t *testing.T) { &logger.ZapLogger{}, &rpc.Plugin{}, vp, - &channel.Plugin{}, &Foo2{}, ) assert.NoError(t, err) @@ -163,7 +155,6 @@ func TestConfigEnvVariables(t *testing.T) { &rpc.Plugin{}, vp, &Foo2{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -215,7 +206,6 @@ func TestConfigEnvVariablesFail(t *testing.T) { &rpc.Plugin{}, vp, &Foo2{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -247,11 +237,6 @@ func TestConfigProvider_GeneralSection(t *testing.T) { t.Fatal(err) } - err = container.Register(&channel.Plugin{}) - if err != nil { - t.Fatal(err) - } - err = container.Init() if err != nil { t.Fatal(err) |