Ignore:
Timestamp:
31 Aug 2021, 15:21:27 (3 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

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

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/tests/test_browser.py

    r15614 r16590  
    8383        self.browser.getControl("Save").click()
    8484        IWorkflowState(self.applicant).setState('submitted')
    85         self.browser.open(self.manage_path)
     85        self.browser.open(self.view_path)
    8686        self.browser.getLink("Download application slip").click()
    8787        self.assertEqual(self.browser.headers['Status'], '200 Ok')
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/tests.py

    r15756 r16590  
    5050    def setUp(self):
    5151        super(InterswitchTestsStudents, self).setUp()
     52        self.app['configuration']['2004'].interswitch_enabled = True
    5253
    5354    def test_interswitch_form(self):
     
    6263        self.assertMatches('...ticket created...',
    6364                           self.browser.contents)
     65        self.browser.open(self.payments_path)
    6466        ctrl = self.browser.getControl(name='val_id')
    6567        self.value = ctrl.options[0]
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_export.py

    r15756 r16590  
    105105            'ac,amount_auth,creation_date,gateway_amt,net_amt,'
    106106            'p_category,p_combi,p_current,'
    107             'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
     107            'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,'
    108108            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    109109            'r_pay_reference,thirdparty_amt,student_id,state,'
    110110            'current_session\r\n'
    111111            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
    112             '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
     112            '100,,%s,paid,%s-04-01 14:12:01#,,12.12,'
    113113            '789,r-code,interswatch,,,,A111111,created,2012\r\n'
    114114            % (curr_year-6, curr_year-6, curr_year-6), result
Note: See TracChangeset for help on using the changeset viewer.