Commit a8bb3256 authored by Nicolas Delaby's avatar Nicolas Delaby

login as manager before editing preferences, then login back to regular user

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35040 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 925108aa
......@@ -113,10 +113,12 @@ class TestDocumentMixin(ERP5TypeTestCase):
self.tic()
def afterSetUp(self):
TestDocumentMixin.login(self)
self.setDefaultSitePreference()
self.setSystemPreference()
transaction.commit()
self.tic()
self.login()
def setDefaultSitePreference(self):
default_pref = self.portal.portal_preferences.default_site_preference
......
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