summaryrefslogtreecommitdiff
path: root/tests/plugins/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-23 19:11:52 +0300
committerGitHub <[email protected]>2021-02-23 19:11:52 +0300
commit18a097292a567fccdd02304ff236bf78d769965d (patch)
tree2fb7cb0833a85397936f6bbad6d1bad33cde3602 /tests/plugins/http
parent123c5e96132cdc8f78f26c2f31e52b6a7ddc2e91 (diff)
parentfdbf6a61600745b5cb1022117dcd9b06d392dc84 (diff)
Merge pull request #559 from spiral/log_does_not_show_any_message
fix(various): Small fixes before release
Diffstat (limited to 'tests/plugins/http')
-rw-r--r--tests/plugins/http/http_plugin_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go
index bca8a2f1..cfc5bc01 100644
--- a/tests/plugins/http/http_plugin_test.go
+++ b/tests/plugins/http/http_plugin_test.go
@@ -1028,7 +1028,7 @@ logs:
mockLogger.EXPECT().Debug(gomock.Any()).AnyTimes()
mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).MinTimes(1)
mockLogger.EXPECT().Debug("worker constructed", "pid", gomock.Any()).MinTimes(1)
- mockLogger.EXPECT().Debug("", "remote", gomock.Any(), "ts", gomock.Any(), "resp.status", gomock.Any(), "method", gomock.Any(), "uri", gomock.Any()).MinTimes(1)
+ mockLogger.EXPECT().Debug("201 GET http://localhost:34999/?hello=world", "remote", "127.0.0.1", "elapsed", gomock.Any()).MinTimes(1)
mockLogger.EXPECT().Debug("WORLD", "pid", gomock.Any()).MinTimes(1)
mockLogger.EXPECT().Debug("worker event received", "event", events.EventWorkerLog, "worker state", gomock.Any()).MinTimes(1)
mockLogger.EXPECT().Error(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() // placeholder for the workerlogerror