Skip to content

Commit

Permalink
Fixed one last example
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Jun 6, 2018
1 parent b3c54c5 commit 69562de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stripe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ func TestIdempotencyKey(t *testing.T) {

func TestStripeAccount(t *testing.T) {
c := &stripe.BackendConfiguration{URL: stripe.APIURL}
p := &stripe.Params{StripeAccount: stripe.String(TestMerchantID)}
p := &stripe.Params{}
p.SetStripeAccount(TestMerchantID)

req, err := c.NewRequest("", "", "", "", nil, p)
assert.NoError(t, err)
Expand Down

0 comments on commit 69562de

Please sign in to comment.