Skip to content

Commit ba7b5f2

Browse files
Feedback changes updated
1 parent c007708 commit ba7b5f2

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

features/user.feature

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@ Feature: Manage WordPress users
147147
3
148148
"""
149149

150+
When I try `wp user update 9999 --user_pass=securepassword`
151+
Then the return code should be 1
152+
And STDERR should contain:
153+
"""
154+
Error: No valid users found.
155+
"""
156+
150157
Scenario: Delete user with invalid reassign
151158
Given a WP install
152159
And a session_no file:
@@ -728,12 +735,3 @@ Feature: Manage WordPress users
728735
"""
729736
newtestuser
730737
"""
731-
Scenario: Updating an invalid user should return an error
732-
Given a WP install
733-
When I try `wp user update 9999 --user_pass=securepassword`
734-
Then the return code should be 1
735-
And STDERR should contain:
736-
"""
737-
Error: No valid users found.
738-
"""
739-

0 commit comments

Comments
 (0)