Index: main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
===================================================================
--- main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py	(revision 16078)
+++ main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py	(revision 16151)
@@ -27,5 +27,4 @@
 from zope.securitypolicy.interfaces import IPrincipalRoleManager
 from zope.component import createObject, getUtility
-from waeup.kofa.configuration import SessionConfiguration
 from waeup.kofa.interfaces import IUserAccount
 from waeup.kofa.browser.tests.test_pdf import samples_dir
@@ -296,5 +295,5 @@
 
     def test_transcript_payment(self):
-        configuration = SessionConfiguration()
+        configuration = CustomSessionConfiguration()
         configuration.academic_session = session_1
         self.app['configuration'].addSessionConfiguration(configuration)
@@ -302,7 +301,7 @@
         applicantscontainer = ApplicantsContainer()
         applicantscontainer.year = session_1
-        applicantscontainer.application_fee = 200.0
+        applicantscontainer.application_fee = 1.0 # Must be set but is not used.
         applicantscontainer.code = u'trans1234'
-        applicantscontainer.prefix = 'trans'
+        applicantscontainer.prefix = 'transfull'
         applicantscontainer.title = u'This is a trans container'
         applicantscontainer.application_category = 'no'
@@ -332,14 +331,11 @@
         self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
         self.browser.getControl(name="form.email").value = 'xx@yy.zz'
-        self.browser.getControl(name="form.nationality").value = ['NG']
         self.browser.getControl(name="form.firstname").value = 'Angela'
         self.browser.getControl(name="form.lastname").value = 'Merkel'
         self.browser.getControl(name="form.sex").value = ['f']
-        self.browser.getControl(name="form.no_copies").value = ['3']
+        self.browser.getControl(name="form.no_copies").value = ['2']
         self.browser.getControl(name="form.course_studied").value = ['CERT1']
         self.browser.getControl(name="form.matric_number").value = '234'
-        self.browser.getControl(name="form.place_of_birth").value = 'Bochum'
         self.browser.getControl(name="form.dispatch_address").value = 'Kuensche'
-        self.browser.getControl(name="form.perm_address").value = 'Kuensche'
         self.browser.getControl(name="form.entry_mode").value = ['ug_ft']
         self.browser.getControl(name="form.entry_session").value = ['2014']
@@ -347,8 +343,9 @@
         self.browser.getControl(name="form.phone.country").value = ['+234']
         self.browser.getControl(name="form.phone.ext").value = '5678'
+        self.browser.getControl(name="form.charge").value = ['nigeria']
         self.browser.getControl("Save").click()
         self.browser.getControl("Add online payment ticket").click()
         self.assertTrue('Payment ticket created' in self.browser.contents)
-        self.assertTrue('<span>200.0</span>' in self.browser.contents)
-        self.assertEqual(applicant.values()[0].amount_auth, 200.0)
+        self.assertTrue('<span>40000.0</span>' in self.browser.contents)
+        self.assertEqual(applicant.values()[0].amount_auth, 40000.0)
         return
