Changeset 13009


Ignore:
Timestamp:
27 May 2015, 15:59:39 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r12980 r13009  
    330330        acc_payment.pay_item_id = '123'
    331331        acc_payment.amount_auth = 876.0
     332        acc_payment.created_online = True
    332333        self.student['payments']['xyz'] = acc_payment
    333334        self.browser.open(self.payments_path + '/xyz')
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r12879 r13009  
    9999        result = open(self.outfile, 'rb').read()
    100100        self.assertMatches(
    101             'ac,amount_auth,creation_date,gateway_amt,p_category,p_current,'
     101            'ac,amount_auth,created_online,creation_date,gateway_amt,p_category,p_current,'
    102102            'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
    103103            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    104104            'r_pay_reference,thirdparty_amt,student_id,state,'
    105105            'current_session\r\n'
    106             '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
     106            '666,12.12,0,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    107107            '100,2012,paid,2012-04-01 14:12:01#,,12.12,'
    108108            '789,r-code,interswatch,,,,A111111,created,2012\r\n',
Note: See TracChangeset for help on using the changeset viewer.