Skip to content

Commit d7b61a2

Browse files
authored
Merge pull request #531 from wp-cli/refine-feature-files
2 parents 66f76e4 + 4b7dd78 commit d7b61a2

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

features/site-generate.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Feature: Generate new WordPress sites
44
Given a WP install
55
When I try `wp site generate`
66
Then STDERR should contain:
7-
"""
8-
This is not a multisite installation.
9-
"""
7+
"""
8+
This is not a multisite installation.
9+
"""
1010
And STDOUT should be empty
1111
And the return code should be 1
1212

features/user.feature

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ Feature: Manage WordPress users
8383

8484
When I run `wp user create testuser3 testuser3@example.com --user_pass=testuser3pass`
8585
Then STDOUT should not contain:
86-
"""
87-
Password:
88-
"""
86+
"""
87+
Password:
88+
"""
8989

9090
# Check with valid password.
9191
When I run `wp user check-password testuser3 testuser3pass`
@@ -104,9 +104,9 @@ Feature: Manage WordPress users
104104

105105
When I run `wp user create testuser3b testuser3b@example.com --user_pass="test\"user3b's\pass\!"`
106106
Then STDOUT should not contain:
107-
"""
108-
Password:
109-
"""
107+
"""
108+
Password:
109+
"""
110110

111111
# Check password without the `--escape-chars` option.
112112
When I try `wp user check-password testuser3b "test\"user3b's\pass\!"`
@@ -437,15 +437,15 @@ Feature: Manage WordPress users
437437
438438
When I run `wp user create testrandompass [email protected]`
439439
Then STDOUT should contain:
440-
"""
441-
Password:
442-
"""
440+
"""
441+
Password:
442+
"""
443443
444444
When I run `wp user create testsuppliedpass [email protected] --user_pass=suppliedpass`
445445
Then STDOUT should not contain:
446-
"""
447-
Password:
448-
"""
446+
"""
447+
Password:
448+
"""
449449
450450
Scenario: List network users
451451
Given a WP multisite install

0 commit comments

Comments
 (0)