Commit 172a08bc authored by Jérome Perrin's avatar Jérome Perrin

this looks like a typo

parent 25ddf745
......@@ -240,7 +240,7 @@ class TestERP5Credential(ERP5TypeTestCase):
def _disablePreference(self):
preference = self._getPreference()
if preference.getPreferenceState() in ('enable', 'global'):
if preference.getPreferenceState() in ('enabled', 'global'):
preference.disable()
def stepSetCredentialRequestAutomaticApprovalPreferences(self, sequence=None):
......
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