Ignore:
Timestamp:
19 Jul 2025, 21:46:02 (7 hours ago)
Author:
Henrik Bettermann
Message:

Rename ‚Required Combi Payment‘, fix test.

File:
1 edited

Legend:

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

    r18131 r18133  
    5353
    5454    def test_interswitch_form(self):
    55         self.app['configuration']['2004'].registration_fresh_fee = 7000.0
     55        self.app['configuration']['2004'].pg_other_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_fresh']
     61        self.browser.getControl(name="form.p_category").value = ['pg_other']
    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 (Fresh)" item_amt="200000" bank_id="8" acct_num="2021420049"' in
     85            'item_name="PG Other Charges" 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.