Fix failing tests after Stripe provider change

This commit is contained in:
Raphael Michel
2023-02-17 09:58:36 +01:00
parent 83b10ecd23
commit 72aaf24a40
3 changed files with 10 additions and 2 deletions

View File

@@ -85,6 +85,13 @@ class MockedCharge():
id = 'ch_123345345'
refunds = MockedRefunds()
def __str__(self):
return json.dumps({
'id': self.id,
'status': self.status,
'paid': self.paid,
})
def refresh(self):
pass