Skip to content

Commit

Permalink
Update expected form render with payment.billing_email
Browse files Browse the repository at this point in the history
  • Loading branch information
XaviTorello committed May 10, 2019
1 parent 81c1e24 commit 81019c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions payments/stripe/test_stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def test_form_contains_stripe_script(self):
form = provider.get_form(payment)
self.assertTrue(
'<script class="stripe-button" data-amount="10000" '
'data-currency="USD" data-description="payment" data-image="" '
'data-key="%s" data-name="%s" '
'data-currency="USD" data-description="payment" data-email="[email protected]" '
'data-image="" data-key="%s" data-name="%s" '
'src="https://checkout.stripe.com/checkout.js"></script>' % (
PUBLIC_KEY, store_name)
in str(form))
Expand Down

0 comments on commit 81019c8

Please sign in to comment.