diff options
author | Valery Piashchynski <[email protected]> | 2021-02-23 19:00:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-23 19:00:44 +0300 |
commit | fdbf6a61600745b5cb1022117dcd9b06d392dc84 (patch) | |
tree | c6b7711f4dfa9873415ff0525887917cc521fd7e /tests/plugins/gzip | |
parent | 7dc61c309a34d21630bc1ad53c53211b3dc985de (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.go | 4 |
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) |