Switch default status_code to OK

This commit is contained in:
Fedor Korotkiy 2023-03-26 15:12:32 +04:00
parent 001e5430fd
commit f4c61ae8ec

View file

@ -80,6 +80,6 @@ func TestRequestLog(t *testing.T) {
checkEntries("/post", false, http.StatusOK)
checkEntries("/forbidden", false, http.StatusForbidden)
checkEntries("/slow", false, http.StatusOK)
checkEntries("/forgetful", false, http.StatusInternalServerError)
checkEntries("/buggy", true, http.StatusInternalServerError)
checkEntries("/forgetful", false, http.StatusOK)
checkEntries("/buggy", true, 0)
}