File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,13 @@ Feature: Manage WordPress users
147
147
3
148
148
"""
149
149
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
+
150
157
Scenario : Delete user with invalid reassign
151
158
Given a WP install
152
159
And a session_no file:
@@ -728,12 +735,3 @@ Feature: Manage WordPress users
728
735
"""
729
736
newtestuser
730
737
"""
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
-
You can’t perform that action at this time.
0 commit comments