Ignore:
Timestamp:
21 Aug 2024, 08:09:35 (4 weeks ago)
Author:
Henrik Bettermann
Message:

Add registration payment categories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py

    r16434 r17900  
    5353
    5454    def test_interswitch_form(self):
    55         self.app['configuration']['2004'].registration_fee = 7000.0
     55        self.app['configuration']['2004'].registration_fresh_fee = 7000.0
    5656        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    5757        self.browser.open(self.payments_path)
     
    5959        self.student.nationality = u'NG'
    6060        self.browser.open(self.payments_path + '/addop')
    61         self.browser.getControl(name="form.p_category").value = ['registration']
     61        self.browser.getControl(name="form.p_category").value = ['registration_fresh']
    6262        self.browser.getControl(name="form.p_option").value = ['first']
    6363        self.browser.getControl("Create payment").click()
     
    8383        # WAeAC charge have been substracted
    8484        self.assertTrue(
    85             'item_name="Registration Fee" item_amt="200000" bank_id="8" acct_num="2021420049"' in
     85            'item_name="Registration Fee (Fresh)" item_amt="200000" bank_id="8" acct_num="2021420049"' in
    8686            self.browser.contents)
    8787        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.