Ignore:
Timestamp:
27 Oct 2012, 06:17:24 (12 years ago)
Author:
Henrik Bettermann
Message:

Log payment category also in doAfterStudentPayment.

File:
1 edited

Legend:

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

    r9437 r9438  
    793793        self.assertMatches('...Payment approved...',
    794794                          self.browser.contents)
     795        # Approval is logged
     796        logfile = os.path.join(
     797            self.app['datacenter'].storage, 'logs', 'students.log')
     798        logcontent = open(logfile).read()
     799        self.assertTrue(
     800            'zope.mgr - students.browser.OnlinePaymentApprovePage '
     801            '- K1000000 - schoolfee payment approved'
     802            in logcontent)
    795803
    796804        # The authorized amount has been stored in the access code
Note: See TracChangeset for help on using the changeset viewer.