Ignore:
Timestamp:
4 Nov 2021, 12:40:15 (3 years ago)
Author:
Henrik Bettermann
Message:

Configure PAYDirect.

File:
1 edited

Legend:

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

    r16655 r16698  
    7272            '<span>40000.0</span>' in self.browser.contents)
    7373        self.payment_url = self.browser.url
    74         self.browser.getLink("Pay via Interswitch", index=0).click()
    75         self.assertTrue('<input type="hidden" name="pay_item_id" value="0000" />' in
     74        self.browser.getLink("Pay via Interswitch CollegePAY", index=0).click()
     75        self.assertMatches('...<input type="hidden" name="pay_item_id" value="Default_Payable_MX26002" />...',
    7676                           self.browser.contents)
    7777        self.assertEqual(self.student.current_mode, 'ug_ft')
     
    9393        self.student['payments']['xyz'] = acc_payment
    9494        self.browser.open(self.payments_path + '/xyz')
    95         self.browser.getLink("Pay via Interswitch", index=0).click()
    96         self.assertMatches('...<input type="hidden" name="pay_item_id" value="0000" />...',
     95        self.browser.getLink("Pay via Interswitch CollegePAY", index=0).click()
     96        self.assertMatches('...<input type="hidden" name="pay_item_id" value="Default_Payable_MX26002" />...',
    9797                           self.browser.contents)
    9898        self.assertMatches('...Total Amount Authorized:...',
Note: See TracChangeset for help on using the changeset viewer.