Skip to content

Commit

Permalink
test: Correct payment method test fixtures (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgrayston-paddle authored Nov 15, 2024
1 parent c3d76e8 commit 37e97f0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025,
"cardholder_name": "Sam Miller"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand All @@ -24,7 +24,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand All @@ -24,7 +24,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand All @@ -24,7 +24,7 @@
"type": "card",
"card": {
"type": "visa",
"last4": 2,
"last4": "0002",
"expiry_month": 1,
"expiry_year": 2025
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_get_payment_methods_returns_expected_card_response(
card = response.card
assert isinstance(card, Card)
assert card.type == "visa"
assert card.last4 == 2
assert card.last4 == "0002"
assert card.expiry_month == 1
assert card.expiry_year == 2025
assert card.cardholder_name == "Sam Miller"
Expand Down

0 comments on commit 37e97f0

Please sign in to comment.