summaryrefslogtreecommitdiff
path: root/tests/plugins/gzip
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-23 19:00:44 +0300
committerValery Piashchynski <[email protected]>2021-02-23 19:00:44 +0300
commitfdbf6a61600745b5cb1022117dcd9b06d392dc84 (patch)
treec6b7711f4dfa9873415ff0525887917cc521fd7e /tests/plugins/gzip
parent7dc61c309a34d21630bc1ad53c53211b3dc985de (diff)
- Remove unneeded mutex from the `http.Workers` method.
- Rename `checker` plugin package to `status`, remove `/v1` endpoint prefix (#557) - Add static, headers, status, gzip plugins to the `main.go`. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/gzip')
-rw-r--r--tests/plugins/gzip/plugin_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go
index 3e3db0f8..9a9c760b 100644
--- a/tests/plugins/gzip/plugin_test.go
+++ b/tests/plugins/gzip/plugin_test.go
@@ -34,7 +34,7 @@ func TestGzipPlugin(t *testing.T) {
&logger.ZapLogger{},
&server.Plugin{},
&httpPlugin.Plugin{},
- &gzip.Gzip{},
+ &gzip.Plugin{},
)
assert.NoError(t, err)
@@ -126,7 +126,7 @@ func TestMiddlewareNotExist(t *testing.T) {
mockLogger,
&server.Plugin{},
&httpPlugin.Plugin{},
- &gzip.Gzip{},
+ &gzip.Plugin{},
)
assert.NoError(t, err)