-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update expected form render with payment.billing_email
- Loading branch information
1 parent
81c1e24
commit 81019c8
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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)) | ||
|