summaryrefslogtreecommitdiff
path: root/tests/plugins/headers/headers_plugin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/headers/headers_plugin_test.go')
-rw-r--r--tests/plugins/headers/headers_plugin_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/plugins/headers/headers_plugin_test.go b/tests/plugins/headers/headers_plugin_test.go
index 49d86b00..e4903335 100644
--- a/tests/plugins/headers/headers_plugin_test.go
+++ b/tests/plugins/headers/headers_plugin_test.go
@@ -11,6 +11,7 @@ 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/headers"
httpPlugin "github.com/spiral/roadrunner/v2/plugins/http"
@@ -34,6 +35,7 @@ func TestHeadersInit(t *testing.T) {
&server.Plugin{},
&httpPlugin.Plugin{},
&headers.Plugin{},
+ &channel.Plugin{},
)
assert.NoError(t, err)
@@ -100,6 +102,7 @@ func TestRequestHeaders(t *testing.T) {
&server.Plugin{},
&httpPlugin.Plugin{},
&headers.Plugin{},
+ &channel.Plugin{},
)
assert.NoError(t, err)
@@ -185,6 +188,7 @@ func TestResponseHeaders(t *testing.T) {
&server.Plugin{},
&httpPlugin.Plugin{},
&headers.Plugin{},
+ &channel.Plugin{},
)
assert.NoError(t, err)
@@ -271,6 +275,7 @@ func TestCORSHeaders(t *testing.T) {
&server.Plugin{},
&httpPlugin.Plugin{},
&headers.Plugin{},
+ &channel.Plugin{},
)
assert.NoError(t, err)