Ignore:
Timestamp:
3 Aug 2021, 09:13:33 (3 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
3 edited

Legend:

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

    r16416 r16562  
    193193        self.payment_url = self.browser.url
    194194        self.browser.getLink("Pay via Interswitch", index=0).click()
    195         self.assertTrue('<item_detail item_id="1" item_name="School Fee 1" item_amt="1545000" bank_id="117" acct_num="1015220292" />'
     195        self.assertTrue('<item_detail item_id="1" item_name="School Fee 1" item_amt="1545000" bank_id="388" acct_num="1556004203" />'
    196196            in self.browser.contents)
    197197        self.assertTrue('<item_detail item_id="2" item_name="School Fee 2" item_amt="1030000" bank_id="8" acct_num="2034761924" />'
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_export.py

    r15751 r16562  
    104104        self.assertMatches(
    105105            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
    106             'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
     106            'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,'
    107107            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    108108            'r_pay_reference,thirdparty_amt,student_id,state,'
    109109            'current_session\r\n'
    110110            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
    111             '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
     111            '100,,%s,paid,%s-04-01 14:12:01#,,12.12,'
    112112            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
    113113            % (curr_year-6, curr_year-6, curr_year-6), result
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_utils.py

    r16421 r16562  
    110110        self.assertEqual(payment.p_level, 200)
    111111        self.assertEqual(payment.p_session, 2005)
    112         self.assertEqual(payment.amount_auth, 16999.0) # now includes Microsoft Fee
     112        self.assertEqual(payment.amount_auth, 9999.0) # now includes Microsoft Fee
    113113
Note: See TracChangeset for help on using the changeset viewer.