summaryrefslogtreecommitdiff
path: root/tests/plugins/gzip/plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 12:06:10 +0300
committerGitHub <[email protected]>2021-06-09 12:06:10 +0300
commita723cedba199a1c50dca05630b53139ee456ace8 (patch)
treec41ab92d6a02b2669f24702cb44dc54b3e241442 /tests/plugins/gzip/plugin_test.go
parent4f3e16892479db4bd8280a46987f3105e46e5c96 (diff)
parentffad3119505aab02f0b7d5ba1cc29e6e91be5d11 (diff)
#713 feat(server): path scan for a potential file path
#713 feat(server): path scan for a potential file path
Diffstat (limited to 'tests/plugins/gzip/plugin_test.go')
-rw-r--r--tests/plugins/gzip/plugin_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go
index 844fd411..b254fad5 100644
--- a/tests/plugins/gzip/plugin_test.go
+++ b/tests/plugins/gzip/plugin_test.go
@@ -120,6 +120,7 @@ func TestMiddlewareNotExist(t *testing.T) {
mockLogger.EXPECT().Warn("requested middleware does not exist", "requested", "foo").AnyTimes()
mockLogger.EXPECT().Debug("worker constructed", "pid", gomock.Any()).AnyTimes()
mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).AnyTimes()
+ mockLogger.EXPECT().Info("scan command", gomock.Any()).Times(1)
mockLogger.EXPECT().Error(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() // placeholder for the workerlogerror
err = cont.RegisterAll(