-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable10] Backport of Adjust acceptance test for issue 33384
- Loading branch information
1 parent
6175c68
commit 67ce367
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,19 +26,17 @@ Feature: reset user password | |
Use the following link to reset your password: <a href= | ||
""" | ||
|
||
@issue-33384 | ||
Scenario: user should get email when the administrator changes their password and specifies to also send email | ||
Given these users have been created: | ||
| username | password | displayname | email | | ||
| brand-new-user | %regular% | New user | brand.new.user@oc.com.np | | ||
When the administrator resets the password of user "brand-new-user" to "%alt1%" sending email using the occ command | ||
Then the command should have been successful | ||
And the command output should contain the text "Successfully reset password for brand-new-user" | ||
And the email address "[email protected]" should not have received an email | ||
#And the email address "[email protected]" should have received an email with the body containing | ||
#""" | ||
#Password changed successfully | ||
#""" | ||
And the email address "[email protected]" should have received an email with the body containing | ||
""" | ||
Password changed successfully | ||
""" | ||
And the content of file "textfile0.txt" for user "brand-new-user" using password "%alt1%" should be "ownCloud test text file 0" plus end-of-line | ||
But user "brand-new-user" using password "%regular%" should not be able to download file "textfile0.txt" | ||
|
||
|