Fix status code for rate limit (#1924)
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com> Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
This commit is contained in:
co-authored by
Rahul Bhati
Vishal
parent
e2376c27b4
commit
f28799cc4c
@@ -65,5 +65,5 @@ func TestProxyErrorHandler(t *testing.T) {
|
||||
|
||||
respRecorder = httptest.NewRecorder()
|
||||
errHandler(respRecorder, req, errors.New("dummy"))
|
||||
assert.Equal(t, http.StatusBadGateway, respRecorder.Code)
|
||||
assert.Equal(t, http.StatusInternalServerError, respRecorder.Code)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user