Stops testing using ManualPayment, and just uses PaymentBase instead
This commit is contained in:
parent
2afa6a8d79
commit
e2687cfa6f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class TestingInvoiceController(InvoiceController):
|
||||||
self.validate_allowed_to_pay()
|
self.validate_allowed_to_pay()
|
||||||
|
|
||||||
''' Adds a payment '''
|
''' Adds a payment '''
|
||||||
commerce.ManualPayment.objects.create(
|
commerce.PaymentBase.objects.create(
|
||||||
invoice=self.invoice,
|
invoice=self.invoice,
|
||||||
reference=reference,
|
reference=reference,
|
||||||
amount=amount,
|
amount=amount,
|
||||||
|
|
Loading…
Reference in a new issue