Ignore:
Timestamp:
10 Feb 2020, 10:53:45 (5 years ago)
Author:
Henrik Bettermann
Message:

Fix IJMBE payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r15919 r15997  
    609609    def test_student_schoolfee_payments(self):
    610610        configuration_1 = createObject('waeup.SessionConfiguration')
    611         configuration_1.academic_session = 2016
     611        configuration_1.academic_session = 2018
    612612        self.app['configuration'].addSessionConfiguration(configuration_1)
    613613        self.certificate.study_mode = 'ug_ft'
    614         self.student['studycourse'].entry_session = 2016
    615         self.student['studycourse'].current_session = 2016
     614        self.student['studycourse'].entry_session = 2018
     615        self.student['studycourse'].current_session = 2018
    616616        self.student['studycourse'].entry_mode = 'ug_ft'
    617617        self.student['studycourse'].certificate.school_fee_1 = 50200.0
    618         self.app['configuration']['2016'].union_fee = 1200.0
    619         self.app['configuration']['2016'].welfare_fee = 700.0
    620         self.app['configuration']['2016'].id_card_fee = 300.0
     618        self.app['configuration']['2018'].union_fee = 1200.0
     619        self.app['configuration']['2018'].welfare_fee = 700.0
     620        #self.app['configuration']['2017'].id_card_fee = 300.0
     621        self.app['configuration']['2018'].sports_fee = 300.0
     622        self.app['configuration']['2018'].library_fee = 300.0
    621623        self.student.nationality = u'NG'
    622624        # Login
     
    635637        self.browser.getLink(value).click()
    636638        self.assertTrue('Amount Authorized' in self.browser.contents)
    637         # 50200 + 1200 + 700 + 300 - 600 = 51800
    638         self.assertEqual(self.student['payments'][value].amount_auth, 51800.0)
     639        # 50200 + 1200 + 700 + 300 + 300- 800 = 51900
     640        self.assertEqual(self.student['payments'][value].amount_auth, 51900.0)
    639641        self.student['payments'][value].r_company = u'interswitch'
    640642        self.browser.open(self.browser.url + '/payment_slip.pdf')
Note: See TracChangeset for help on using the changeset viewer.