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
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-
You can’t perform that action at this time.
0 commit comments