Remove token parameter from stripe_utils.get_card_details
and add additional paramters to uniquely identify a card
This commit is contained in:
parent
4c06a9e730
commit
8d42ca3200
2 changed files with 7 additions and 4 deletions
|
|
@ -86,8 +86,7 @@ class CeleryTaskTestCase(TestCase):
|
|||
token=self.token
|
||||
)
|
||||
card_details = self.stripe_utils.get_card_details(
|
||||
stripe_customer.stripe_id,
|
||||
self.token
|
||||
stripe_customer.stripe_id
|
||||
)
|
||||
card_details_dict = card_details.get('error')
|
||||
self.assertEquals(card_details_dict, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue