Ignore:
Timestamp:
4 Nov 2019, 08:21:21 (5 years ago)
Author:
Henrik Bettermann
Message:

Increase school fees.

File:
1 edited

Legend:

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

    r15322 r15747  
    6868                           self.browser.contents)
    6969        self.assertMatches(
    70             '...<span>79450.0</span>...',
     70            '...<span>80450.0</span>...',
    7171            self.browser.contents)
    7272        self.payment_url = self.browser.url
    73         self.browser.getLink("CollegePAY", index=0).click()
     73        self.browser.getLink("Pay via Interswitch", index=0).click()
    7474        self.assertMatches('...<input type="hidden" name="pay_item_id" value="103" />...',
    7575                           self.browser.contents)
     
    7878        self.assertEqual(self.student.current_mode, 'ug_ft')
    7979        self.assertMatches(
    80             '...<input type="hidden" name="amount" value="7945000" />...',
    81             self.browser.contents)
    82         self.assertMatches(
    83             '...item_name="School Fee (total)" item_amt="7945000" bank_id="7" acct_num="1019684470"...',
     80            '...<input type="hidden" name="amount" value="8045000" />...',
     81            self.browser.contents)
     82        self.assertMatches(
     83            '...item_name="School Fee (total)" item_amt="8045000" bank_id="7" acct_num="1019684470"...',
    8484            self.browser.contents)
    8585
     
    9494        self.student['payments']['xyz'] = acc_payment
    9595        self.browser.open(self.payments_path + '/xyz')
    96         self.browser.getLink("CollegePAY", index=0).click()
     96        self.browser.getLink("Pay via Interswitch", index=0).click()
    9797        self.assertMatches('...<input type="hidden" name="pay_item_id" value="102" />...',
    9898                           self.browser.contents)
     
    106106        acc_payment.creation_date -= delta
    107107        self.browser.open(self.payments_path + '/xyz')
    108         self.browser.getLink("CollegePAY", index=0).click()
     108        self.browser.getLink("Pay via Interswitch", index=0).click()
    109109        self.assertMatches(
    110110            '...This payment ticket is too old. Please create a new ticket...',
     
    113113        acc_payment.creation_date += delta
    114114        self.browser.open(self.payments_path + '/xyz')
    115         self.browser.getLink("CollegePAY", index=0).click()
     115        self.browser.getLink("Pay via Interswitch", index=0).click()
    116116        self.assertMatches('...Total Amount Authorized:...',
    117117                           self.browser.contents)
     
    232232    def test_interswitch_form(self):
    233233        # Manager can access InterswitchForm
    234         self.browser.getLink("CollegePAY", index=0).click()
     234        self.browser.getLink("Pay via Interswitch", index=0).click()
    235235        self.assertMatches('...Total Amount Authorized:...',
    236236                           self.browser.contents)
     
    241241        self.applicant.values()[0].creation_date -= delta
    242242        self.browser.open(self.payment_url)
    243         self.browser.getLink("CollegePAY", index=0).click()
     243        self.browser.getLink("Pay via Interswitch", index=0).click()
    244244        self.assertMatches(
    245245            '...This payment ticket is too old. Please create a new ticket...',
Note: See TracChangeset for help on using the changeset viewer.