Stops testing using ManualPayment, and just uses PaymentBase instead

This commit is contained in:
Christopher Neugebauer 2016-04-25 16:45:42 +10:00
parent 2afa6a8d79
commit e2687cfa6f

View file

@ -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,