Skip to content
Snippets Groups Projects
Commit 775cee72 authored by OZGCloud's avatar OZGCloud
Browse files

fixed test error

parent 869b1321
Branches
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ func TestRequestLoggingMiddleware(t *testing.T) {
http.Get("http://localhost:8082/api/v1/information/testId")
logOutput := buf.String()
assert.Contains(t, logOutput, "received GET request for /api/v1/information/testId with body")
assert.Contains(t, logOutput, "successfully handled GET request for /api/v1/information/testId with body")
assert.Contains(t, "received GET request for /api/v1/information/testId with body", logOutput)
assert.Contains(t,"successfully handled GET request for /api/v1/information/testId with body", logOutput)
})
t.Run("should not log request", func(t *testing.T) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment