diff options
author | Valery Piashchynski <[email protected]> | 2020-12-02 10:57:10 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-02 10:57:10 +0300 |
commit | bdabf97a6463c0e3897063235f3d556d4f75c4bd (patch) | |
tree | d0b61be0ee53e793d7350c7805db18c31f7af3c4 /plugins/gzip | |
parent | 70910821a0ffb10316f9970a2fec4c3379d10675 (diff) | |
parent | 509db1b16de783819932e34703dec42bd99b51c9 (diff) |
Merge pull request #421 from spiral/plugin/headers
[RR2] Headers plugin
Diffstat (limited to 'plugins/gzip')
-rw-r--r-- | plugins/gzip/tests/plugin_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gzip/tests/plugin_test.go b/plugins/gzip/tests/plugin_test.go index c7f12643..39979895 100644 --- a/plugins/gzip/tests/plugin_test.go +++ b/plugins/gzip/tests/plugin_test.go @@ -21,7 +21,7 @@ import ( ) func TestGzipPlugin(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, "")) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) assert.NoError(t, err) cfg := &config.Viper{ @@ -102,7 +102,7 @@ func headerCheck(t *testing.T) { } func TestMiddlewareNotExist(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel), endure.Visualize(endure.StdOut, "")) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) assert.NoError(t, err) cfg := &config.Viper{ |