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
Binh
erp5
Commits
61f967f5
Commit
61f967f5
authored
Aug 31, 2011
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
when creating a credential recovery for a password, reference must be setted
parent
2bce3751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
product/ERP5/tests/testERP5Credential.py
product/ERP5/tests/testERP5Credential.py
+3
-2
No files found.
product/ERP5/tests/testERP5Credential.py
View file @
61f967f5
...
...
@@ -579,6 +579,7 @@ class TestERP5Credential(ERP5TypeTestCase):
# associate it with barney
credential_recovery
.
setDestinationDecisionValue
(
person
)
credential_recovery
.
setReference
(
person
.
getReference
())
sequence
.
edit
(
credential_recovery
=
credential_recovery
)
def
stepRequestCredentialRecoveryWithERP5Site_newCredentialRecovery
(
self
,
...
...
@@ -668,10 +669,10 @@ class TestERP5Credential(ERP5TypeTestCase):
self
.
assertEqual
(
barney
.
getDefaultEmailText
(),
send_to
)
def
stepCheckPasswordChange
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
'''
"""
check it's possible to change the user password using the link in the
email
'''
"""
# get the url
last_message
=
self
.
portal
.
MailHost
.
_last_message
rawstr
=
r"""PasswordTool_viewResetPassword"""
...
...
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