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
Nikola Balog
erp5
Commits
1b3c9e7d
Commit
1b3c9e7d
authored
3 years ago
by
Aurel
Committed by
Jérome Perrin
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
None password is no longer accepted
parent
31b4a4d6
Changes
1
Show 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 @
1b3c9e7d
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
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