Fix test case of BadRequest

Should have been StatusOK
This commit is contained in:
Timothy Lock
2018-01-29 18:01:54 -05:00
parent 3b95498cbe
commit c809bb0ee2

View File

@@ -205,7 +205,7 @@ func TestResponses(t *testing.T) {
},
// VerifyBadPayload
{
testServer: httptest.NewServer(serverWithResponse(http.StatusBadRequest, `{"status": 21002}`)),
testServer: httptest.NewServer(serverWithResponse(http.StatusOK, `{"status": 21002}`)),
expected: &IAPResponse{
Status: 21002,
},