Index: main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py	(revision 10831)
+++ main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py	(revision 10832)
@@ -758,5 +758,5 @@
             in logcontent)
 
-    def test_pay_application_fee(self):
+    def test_pay_portal_application_fee(self):
         self.login()
         self.browser.open(self.edit_path)
@@ -869,4 +869,27 @@
         return
 
+    def test_pay_container_application_fee(self):
+        self.login()
+        self.browser.open(self.edit_path)
+        self.fill_correct_values()
+        self.browser.getControl("Save").click()
+        configuration = SessionConfiguration()
+        configuration.academic_session = session_1
+        self.applicantscontainer.application_fee = 120.0
+        configuration.application_fee = 9999.9
+        self.app['configuration'].addSessionConfiguration(configuration)
+        self.browser.open(self.edit_path)
+        self.browser.getControl("Add online payment ticket").click()
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        self.assertFalse(
+            '<span>9999.9</span>' in self.browser.contents)
+        self.assertTrue(
+            '<span>120.0</span>' in self.browser.contents)
+        self.assertTrue(
+            '<span>Application Fee</span>' in self.browser.contents)
+        return
 
     def test_pay_special_fee(self):
