Ignore:
Timestamp:
24 Apr 2012, 15:27:00 (13 years ago)
Author:
Henrik Bettermann
Message:

The payment receipt is now called payment slip and can be downloaded even if not paid. This is necessary for eTranzact payments.

File:
1 edited

Legend:

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

    r8252 r8262  
    12711271        payment_url = self.browser.url
    12721272
    1273         # The pdf payment receipt can't yet be opened
    1274         self.browser.open(payment_url + '/payment_receipt.pdf')
    1275         self.assertMatches('...Ticket not yet paid...',
    1276                            self.browser.contents)
     1273        # The pdf payment slip can't yet be opened
     1274        #self.browser.open(payment_url + '/payment_slip.pdf')
     1275        #self.assertMatches('...Ticket not yet paid...',
     1276        #                   self.browser.contents)
    12771277
    12781278        # The same payment (with same p_item, p_session and p_category)
     
    13071307            self.browser.contents)
    13081308
    1309         # Managers can open the pdf payment receipt
     1309        # Managers can open the pdf payment slip
    13101310        self.browser.open(payment_url)
    1311         self.browser.getLink("Download payment receipt").click()
     1311        self.browser.getLink("Download payment slip").click()
    13121312        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    13131313        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
     
    13841384        ac.owner = self.student_id
    13851385
    1386         # Students can open the pdf payment receipt
    1387         self.browser.open(payment_url + '/payment_receipt.pdf')
     1386        # Students can open the pdf payment slip
     1387        self.browser.open(payment_url + '/payment_slip.pdf')
    13881388        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    13891389        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.