Commit 669b0d61 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Enforce limits on the tests to not depend on users preference

parent 7a26464d
Pipeline #12780 failed with stage
in 0 seconds
......@@ -913,6 +913,8 @@ class TestSlapOSisSupportRequestCreationClosed(TestCRMSkinsMixin):
url = person.getRelativeUrl()
self.assertFalse(self.portal.ERP5Site_isSupportRequestCreationClosed(url))
self.assertFalse(self.portal.ERP5Site_isSupportRequestCreationClosed())
self.portal.portal_preferences.slapos_default_system_preference\
.setPreferredSupportRequestCreationLimit(5)
def newSupportRequest():
sr = self.portal.support_request_module.newContent(\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment