From c809bb0ee2933ef03925aa742177e6823c2363d9 Mon Sep 17 00:00:00 2001 From: Timothy Lock Date: Mon, 29 Jan 2018 18:01:54 -0500 Subject: [PATCH] Fix test case of BadRequest Should have been StatusOK --- appstore/validator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appstore/validator_test.go b/appstore/validator_test.go index 6f9e10d..056e169 100644 --- a/appstore/validator_test.go +++ b/appstore/validator_test.go @@ -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, },