Commit 479e7dee authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

None password is no longer accepted

parent 5e44862f
...@@ -1184,13 +1184,15 @@ class TestERP5Credential(ERP5TypeTestCase): ...@@ -1184,13 +1184,15 @@ class TestERP5Credential(ERP5TypeTestCase):
reference = self._testMethodName reference = self._testMethodName
self.logout() self.logout()
response = self.portal.ERP5Site_newCredentialRequest(reference=reference, response = self.portal.ERP5Site_newCredentialRequest(reference=reference,
default_email_text='some@one.com',) default_email_text='some@one.com',
password="secret")
self.login() self.login()
self.assertIn('Credential%20Request%20Created.', response) self.assertIn('Credential%20Request%20Created.', response)
self.commit() self.commit()
self.logout() self.logout()
response = self.portal.ERP5Site_newCredentialRequest(reference=reference, response = self.portal.ERP5Site_newCredentialRequest(reference=reference,
default_email_text='some@one.com',) default_email_text='some@one.com',
password="secret")
self.login() self.login()
# Now is time to assert that even if no reindexation was done yet, another # Now is time to assert that even if no reindexation was done yet, another
# request will already refuse to create new credential request. # request will already refuse to create new credential request.
......
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