Ignore:
Timestamp:
13 Jun 2012, 05:44:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Add getOwner method to payments which is needed for the webservice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r8684 r8702  
    730730        self.assertEqual(payment.p_category,'application')
    731731        self.assertEqual(payment.amount_auth,200.0)
     732        # Applicant is owner of the payment ticket.
     733        self.assertEqual(payment.getOwner(), self.applicant)
    732734        # The pdf payment slip can't yet be opened
    733735        #self.browser.open(payment_url + '/payment_receipt.pdf')
Note: See TracChangeset for help on using the changeset viewer.