diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 13:48:43 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-19 13:48:43 +0300 |
commit | 9bb05ec11065e765d14701f3f0c6aef19640dff7 (patch) | |
tree | 10e88d11ac3571c701d06e3671e6e2b538d879ed /tests/plugins/static | |
parent | a9a206b31e272e0508fff496e9641c4db291ddb7 (diff) |
Uniform debug message from the http hanlder
Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/static')
-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 |