From b88868dcf0ac441323f92e0180dedebb2c28b2da Mon Sep 17 00:00:00 2001 From: Yejia Chen Date: Tue, 15 Feb 2022 17:44:44 -0500 Subject: [PATCH] add tests for verify_microdeposits --- example/generated_examples_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index db6da189ad..3b295f4097 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -1556,3 +1556,15 @@ func TestPaymentLinkRetrieve(t *testing.T) { result, _ := paymentlink.Get("pl_xyz", params) assert.NotNil(t, result) } + +func TestPaymentIntentVerifyMicrodeposits(t *testing.T) { + params := &stripe.PaymentIntentVerifyMicrodepositsParams{} + result, _ := paymentintent.VerifyMicrodeposits("pi_xxxxxxxxxxxxx", params) + assert.NotNil(t, result) +} + +func TestSetupIntentVerifyMicrodeposits(t *testing.T) { + params := &stripe.SetupIntentVerifyMicrodepositsParams{} + result, _ := setupintent.VerifyMicrodeposits("seti_xxxxxxxxxxxxx", params) + assert.NotNil(t, result) +}