Index: main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
===================================================================
--- main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py	(revision 15251)
+++ main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py	(revision 15268)
@@ -974,4 +974,5 @@
     def test_student_accommodation(self):
         self.app['hostels'].allocation_expiration = 7
+        self.student['accommodation'].desired_hostel = u'hall-1'
         bed = Bed()
         bed.bed_id = u'hall-1_A_101_C'
@@ -991,4 +992,5 @@
         self.browser.getControl("Create ticket").click()
         p_ticket = self.student['payments'].values()[0]
+        self.assertEqual(p_ticket.p_item, 'regular_male_fr (hall-1)')
         p_ticket.approveStudentPayment()
         # The new HOS-0 pin has been created.
