Ignore:
Timestamp:
4 May 2016, 07:14:34 (8 years ago)
Author:
Henrik Bettermann
Message:

Add FinancialClearanceOfficer? role. Only Financial Clearance Officers are allowed to print slips with signature fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_browser.py

    r13781 r13856  
    361361        # Assign BursaryOfficer role
    362362        prmglobal.assignRoleToPrincipal('waeup.BursaryOfficer', 'mrbursary')
     363        # and FinancialClearanceOfficer role
     364        prmglobal.assignRoleToPrincipal(
     365            'waeup.FinancialClearanceOfficer', 'mrbursary')
    363366        # Login
    364367        self.browser.open(self.login_path)
     
    373376        # BO can view student record
    374377        self.browser.open(self.student_path)
    375         prmglobal.assignRoleToPrincipal('waeup.BursaryOfficer', 'mrbursary')
    376         self.browser.open(self.student_path)
    377378        # BO can see clearance button ...
    378379        self.assertTrue(
     
    420421            self.browser.contents)
    421422
    422     def test_bursary_pdf_slip(self):
     423    def test_fiancial_clearance_pdf_slip(self):
    423424        payment1 = createObject(u'waeup.StudentOnlinePayment')
    424425        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.