Ignore:
Timestamp:
21 Mar 2017, 12:25:55 (8 years ago)
Author:
Henrik Bettermann
Message:

The entry_mode determines the acceptance fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_utils.py

    r14455 r14639  
    1515
    1616    def test_set_payment_details(self):
    17         self.student['studycourse'].certificate.study_mode = 'ug_ft'
     17        self.student['studycourse'].entry_mode = 'ug_ft'
    1818        self.student.nationality = u'NG'
    1919        self.student.lga = 'ebonyi_ukaba'
     
    5959        self.assertEqual(payment.amount_auth, 20300.0)
    6060
    61         self.student['studycourse'].certificate.study_mode = 'nce_ft'
     61        self.student['studycourse'].entry_mode = 'nce_ft'
    6262        error, payment = utils.setPaymentDetails('clearance',self.student)
    6363        self.assertEqual(payment.amount_auth, 10300.0)
Note: See TracChangeset for help on using the changeset viewer.