diff options
author | Valery Piashchynski <[email protected]> | 2021-05-31 16:05:00 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-31 16:05:00 +0300 |
commit | 49703d70a3ede70ce9a0cab824cbcb96dbf824c0 (patch) | |
tree | 181d72a3321d52c960a519ba3a233e3e7fe8e86a /tests/plugins/headers/headers_plugin_test.go | |
parent | 0ee91dc24d3e68706d89092c06b1c0d09dab0353 (diff) |
- Rework access_validators
- WS plugin uses it's own pool to handle requests on the /ws (or any
user-defined) endpoint
- Ability to write custom validators
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/headers/headers_plugin_test.go')
-rw-r--r-- | tests/plugins/headers/headers_plugin_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/plugins/headers/headers_plugin_test.go b/tests/plugins/headers/headers_plugin_test.go index e4903335..49d86b00 100644 --- a/tests/plugins/headers/headers_plugin_test.go +++ b/tests/plugins/headers/headers_plugin_test.go @@ -11,7 +11,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/headers" httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" @@ -35,7 +34,6 @@ func TestHeadersInit(t *testing.T) { &server.Plugin{}, &httpPlugin.Plugin{}, &headers.Plugin{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -102,7 +100,6 @@ func TestRequestHeaders(t *testing.T) { &server.Plugin{}, &httpPlugin.Plugin{}, &headers.Plugin{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -188,7 +185,6 @@ func TestResponseHeaders(t *testing.T) { &server.Plugin{}, &httpPlugin.Plugin{}, &headers.Plugin{}, - &channel.Plugin{}, ) assert.NoError(t, err) @@ -275,7 +271,6 @@ func TestCORSHeaders(t *testing.T) { &server.Plugin{}, &httpPlugin.Plugin{}, &headers.Plugin{}, - &channel.Plugin{}, ) assert.NoError(t, err) |