Correct test
Needed to set an invalid SandboxURL to trigger the err.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user