Ignore:
Timestamp:
2 Jun 2012, 07:24:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Choose correct school fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r8556 r8596  
    12701270        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    12711271        self.browser.open(self.payments_path)
     1272        IWorkflowState(self.student).setState('cleared')
    12721273        self.browser.getControl("Add online payment ticket").click()
    12731274        self.browser.getControl(name="form.p_category").value = ['schoolfee']
     
    12801281        self.assertMatches('...Amount Authorized...',
    12811282                           self.browser.contents)
     1283        self.assertEqual(self.student['payments'][value].amount_auth, 40000.0)
    12821284        payment_url = self.browser.url
    12831285
     
    14551457        self.assertMatches('...Amount Authorized...',
    14561458                           self.browser.contents)
    1457         self.assertEqual(self.student['payments'][value].amount_auth, 40000.0)
     1459        self.assertEqual(self.student['payments'][value].amount_auth, 20000.0)
    14581460        # Payment session and will be calculated as defined
    14591461        # in w.k.students.utils because we set changed the state
Note: See TracChangeset for help on using the changeset viewer.