Switch default status_code to OK
This commit is contained in:
parent
001e5430fd
commit
f4c61ae8ec
1 changed files with 2 additions and 2 deletions
|
@ -80,6 +80,6 @@ func TestRequestLog(t *testing.T) {
|
||||||
checkEntries("/post", false, http.StatusOK)
|
checkEntries("/post", false, http.StatusOK)
|
||||||
checkEntries("/forbidden", false, http.StatusForbidden)
|
checkEntries("/forbidden", false, http.StatusForbidden)
|
||||||
checkEntries("/slow", false, http.StatusOK)
|
checkEntries("/slow", false, http.StatusOK)
|
||||||
checkEntries("/forgetful", false, http.StatusInternalServerError)
|
checkEntries("/forgetful", false, http.StatusOK)
|
||||||
checkEntries("/buggy", true, http.StatusInternalServerError)
|
checkEntries("/buggy", true, 0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue