From 12a6e01874a1b7c80ccdfae57fe03b1d004b1e7d Mon Sep 17 00:00:00 2001 From: Timothy Lock Date: Mon, 11 Dec 2017 17:20:32 -0500 Subject: [PATCH] Correct test Needed to set an invalid SandboxURL to trigger the err. --- appstore/validator_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/appstore/validator_test.go b/appstore/validator_test.go index b6829d7..f6a338a 100644 --- a/appstore/validator_test.go +++ b/appstore/validator_test.go @@ -257,6 +257,7 @@ func TestVerifySandboxReceiptFailure(t *testing.T) { client := New() client.URL = s.URL client.TimeOut = time.Second * 100 + client.SandboxURL = "localhost" req := IAPRequest{ ReceiptData: "dummy data",