Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
badb1488
Commit
badb1488
authored
Apr 19, 2021
by
Aurel
Committed by
Aurel
Feb 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
None password is no longer accepted
parent
04ec206e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py
...ateItem/portal_components/test.erp5.testERP5Credential.py
+4
-2
No files found.
bt5/erp5_credential/TestTemplateItem/portal_components/test.erp5.testERP5Credential.py
View file @
badb1488
...
@@ -1178,13 +1178,15 @@ class TestERP5Credential(ERP5TypeTestCase):
...
@@ -1178,13 +1178,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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment