Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: refactor response handling and add response code assertion
- Remove the lines that close the response body and get the status code from the response body - Add an assertion to check the response code using the `w.Code` field Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Loading branch information