diff --git a/bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py b/bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py index 1ee3e0740b1c57a7691531cf9f445b0cf32f51ff..94b955b2ff5b175e72adb1e0e2ed50ab9e6e28b6 100644 --- a/bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py +++ b/bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py @@ -1184,13 +1184,15 @@ class TestERP5Credential(ERP5TypeTestCase): reference = self._testMethodName self.logout() response = self.portal.ERP5Site_newCredentialRequest(reference=reference, - default_email_text='some@one.com',) + default_email_text='some@one.com', + password="secret") self.login() self.assertIn('Credential%20Request%20Created.', response) self.commit() self.logout() response = self.portal.ERP5Site_newCredentialRequest(reference=reference, - default_email_text='some@one.com',) + default_email_text='some@one.com', + password="secret") self.login() # Now is time to assert that even if no reindexation was done yet, another # request will already refuse to create new credential request.