Changeset 15076 for main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Timestamp:
- 3 Jul 2018, 06:02:40 (6 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r15075 r15076 314 314 elif self.applicant.__parent__.application_category in ( 315 315 'ndpt', 'hndpt', 'ndwe', 'hndwe'): 316 xmldict['institution_acct'] = ' 1015220292'317 xmldict['institution_bank_id'] = ' 117'316 xmldict['institution_acct'] = '5210039869' 317 xmldict['institution_bank_id'] = '51' 318 318 elif self.applicant.applicant_id.startswith('special'): 319 319 if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
r15075 r15076 372 372 self.browser.getControl("Add online").click() 373 373 self.browser.getLink("CollegePAY", index=0).click() 374 self.assertTrue('<item_detail item_id="1" item_name="Application 1" item_amt="15000" bank_id=" 117" acct_num="1015220292" />'374 self.assertTrue('<item_detail item_id="1" item_name="Application 1" item_amt="15000" bank_id="51" acct_num="5210039869" />' 375 375 in self.browser.contents) 376 376 self.assertTrue('<item_detail item_id="2" item_name="Application 2" item_amt="10000" bank_id="123" acct_num="1002883141" />'
Note: See TracChangeset for help on using the changeset viewer.