diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 14:57:58 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-19 14:57:58 +0300 |
commit | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (patch) | |
tree | ff51fa5552b897db6e118f3da6771f248efaeaa6 /tests/plugins/static/static_plugin_test.go | |
parent | 8704e833dffd7d41614830b5347ba15fa9f297fd (diff) | |
parent | d34f7defd974918d64c225a535a2d98f3f7294cf (diff) |
Merge pull request #486 from spiral/refactor/better_http_debug_logs
refactor(http): Uniform debug message from the http hanlder
Diffstat (limited to 'tests/plugins/static/static_plugin_test.go')
-rw-r--r-- | tests/plugins/static/static_plugin_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/static/static_plugin_test.go b/tests/plugins/static/static_plugin_test.go index 74daaa16..a411193d 100644 --- a/tests/plugins/static/static_plugin_test.go +++ b/tests/plugins/static/static_plugin_test.go @@ -304,7 +304,7 @@ func TestStaticFilesForbid(t *testing.T) { mockLogger := mocks.NewMockLogger(controller) mockLogger.EXPECT().Info("worker constructed", "pid", gomock.Any()).AnyTimes() - mockLogger.EXPECT().Debug("http handler response received", "elapsed", gomock.Any(), "remote address", "127.0.0.1").AnyTimes() + mockLogger.EXPECT().Debug("", "remote", gomock.Any(), "ts", gomock.Any(), "resp.status", gomock.Any(), "method", gomock.Any(), "uri", gomock.Any()).AnyTimes() mockLogger.EXPECT().Error("file open error", "error", gomock.Any()).AnyTimes() mockLogger.EXPECT().Info(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() // placeholder for the workerlogerror |