diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 02:31:33 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-09 02:31:33 +0300 |
commit | 6103228ee951c7c8bf5d425471b7c440980c6044 (patch) | |
tree | 698c28d3af1814f49958455a6c518ed62032830f /tests/plugins/gzip/plugin_test.go | |
parent | 4f3e16892479db4bd8280a46987f3105e46e5c96 (diff) |
- Update CI (add new tests)
- Add path scan with regex (find .php/.ph/.sh scripts). When found, try
to stat path for potential fix for the [file not exists problem]
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/gzip/plugin_test.go')
-rw-r--r-- | tests/plugins/gzip/plugin_test.go | 1 |
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( |