Skip to content

Commit

Permalink
Add billing address to PayPal tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSturmfels committed Oct 5, 2021
1 parent 3128ed7 commit 179c7cd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions payments/paypal/test_paypal.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ class Payment(Mock):
variant = VARIANT
transaction_id = None
message = ""
billing_first_name = "John"
billing_last_name = "Doe"
billing_address_1 = "Unit 4"
billing_address_2 = "5 Green Street"
billing_city = "Greenville"
billing_postcode = "1234"
billing_country_code = "US"
billing_country_area = "Some state"
billing_email = "[email protected]"
extra_data = json.dumps(
{
"links": {
Expand Down

0 comments on commit 179c7cd

Please sign in to comment.