You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be already possible to mock a restful.Request since it simply wraps a http.Request, which in turn can be hand-crafted while testing. However, it doesn't seem to be possible to wrap a httptest.ResponseRecording in a restful.Response in order to examine what my handlers have done to it.
The text was updated successfully, but these errors were encountered:
It seems to be already possible to mock a restful.Request since it simply wraps a http.Request, which in turn can be hand-crafted while testing. However, it doesn't seem to be possible to wrap a httptest.ResponseRecording in a restful.Response in order to examine what my handlers have done to it.
The text was updated successfully, but these errors were encountered: