Commit c0228c0d authored by Jérome Perrin's avatar Jérome Perrin

now we have to commit transaction after changing the active preference


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38405 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 453c2ccb
......@@ -105,6 +105,8 @@ class TestEditorField(ERP5TypeTestCase, ZopeTestCase.Functional):
self.getDefaultSitePreference()._clearCache()
else:
self.getDefaultSitePreference().enable()
# commit transaction, are preferences are in transaction cache
transaction.commit()
# Make sure preferred editor was set on preference
self.assertEquals(self.getDefaultSitePreference().getPreferredTextEditor(), preferred_editor)
......
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