diff options
author | Valery Piashchynski <[email protected]> | 2020-12-25 14:46:01 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-25 14:46:01 +0300 |
commit | 8526c03822e724bc2ebb64b6197085fea335b782 (patch) | |
tree | b205b392b3721606fae4fa3174327259b41bc76a /tests/plugins/http | |
parent | 42b33b77793789d666451798b07587f6404242b4 (diff) |
Move root plugins to the pkg
Diffstat (limited to 'tests/plugins/http')
-rw-r--r-- | tests/plugins/http/attributes_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/http/handler_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/http/http_test.go | 8 | ||||
-rw-r--r-- | tests/plugins/http/parse_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/http/response_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/http/uploads_config_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/http/uploads_test.go | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/tests/plugins/http/attributes_test.go b/tests/plugins/http/attributes_test.go index 69200a30..54998906 100644 --- a/tests/plugins/http/attributes_test.go +++ b/tests/plugins/http/attributes_test.go @@ -4,7 +4,7 @@ import ( "net/http" "testing" - "github.com/spiral/roadrunner/v2/plugins/http/attributes" + "github.com/spiral/roadrunner/v2/pkg/plugins/http/attributes" "github.com/stretchr/testify/assert" ) diff --git a/tests/plugins/http/handler_test.go b/tests/plugins/http/handler_test.go index 18558296..193bf0cf 100644 --- a/tests/plugins/http/handler_test.go +++ b/tests/plugins/http/handler_test.go @@ -11,8 +11,8 @@ import ( "strings" "github.com/spiral/roadrunner/v2/pkg/pipe" + httpPlugin "github.com/spiral/roadrunner/v2/pkg/plugins/http" poolImpl "github.com/spiral/roadrunner/v2/pkg/pool" - httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" "github.com/stretchr/testify/assert" "net/http" diff --git a/tests/plugins/http/http_test.go b/tests/plugins/http/http_test.go index 9c081bc5..f4a357f2 100644 --- a/tests/plugins/http/http_test.go +++ b/tests/plugins/http/http_test.go @@ -23,14 +23,14 @@ import ( "github.com/spiral/roadrunner-plugins/logger" "github.com/spiral/roadrunner-plugins/resetter" "github.com/spiral/roadrunner/v2/interfaces/events" - "github.com/spiral/roadrunner/v2/mocks" - "github.com/spiral/roadrunner/v2/plugins/informer" - "github.com/spiral/roadrunner/v2/plugins/server" + "github.com/spiral/roadrunner/v2/pkg/plugins/informer" + "github.com/spiral/roadrunner/v2/pkg/plugins/server" + "github.com/spiral/roadrunner/v2/tests/mocks" "github.com/spiral/roadrunner/v2/tools" "github.com/yookoala/gofast" rpcPlugin "github.com/spiral/roadrunner-plugins/rpc" - httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" + httpPlugin "github.com/spiral/roadrunner/v2/pkg/plugins/http" "github.com/stretchr/testify/assert" ) diff --git a/tests/plugins/http/parse_test.go b/tests/plugins/http/parse_test.go index 5cc1ce32..df217202 100644 --- a/tests/plugins/http/parse_test.go +++ b/tests/plugins/http/parse_test.go @@ -3,7 +3,7 @@ package http import ( "testing" - "github.com/spiral/roadrunner/v2/plugins/http" + "github.com/spiral/roadrunner/v2/pkg/plugins/http" ) var samples = []struct { diff --git a/tests/plugins/http/response_test.go b/tests/plugins/http/response_test.go index a9cbf91a..229163a2 100644 --- a/tests/plugins/http/response_test.go +++ b/tests/plugins/http/response_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/spiral/roadrunner/v2/pkg/payload" - httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" + httpPlugin "github.com/spiral/roadrunner/v2/pkg/plugins/http" "github.com/stretchr/testify/assert" ) diff --git a/tests/plugins/http/uploads_config_test.go b/tests/plugins/http/uploads_config_test.go index e76078ee..4a7927c5 100644 --- a/tests/plugins/http/uploads_config_test.go +++ b/tests/plugins/http/uploads_config_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" + httpPlugin "github.com/spiral/roadrunner/v2/pkg/plugins/http" "github.com/stretchr/testify/assert" ) diff --git a/tests/plugins/http/uploads_test.go b/tests/plugins/http/uploads_test.go index 7bb25cbf..e71ff8c1 100644 --- a/tests/plugins/http/uploads_test.go +++ b/tests/plugins/http/uploads_test.go @@ -17,8 +17,8 @@ import ( j "github.com/json-iterator/go" "github.com/spiral/roadrunner/v2/pkg/pipe" + httpPlugin "github.com/spiral/roadrunner/v2/pkg/plugins/http" poolImpl "github.com/spiral/roadrunner/v2/pkg/pool" - httpPlugin "github.com/spiral/roadrunner/v2/plugins/http" "github.com/stretchr/testify/assert" ) |