Skip to content

Commit 63fd9e7

Browse files
Fix Scenario indentation
1 parent b133985 commit 63fd9e7

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

features/checksum-core.feature

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -120,41 +120,41 @@ Feature: Validate checksums for WordPress install
120120
"""
121121
And the return code should be 0
122122

123-
Scenario: Verify core checksums when extra files prefixed with 'wp-' are included in WordPress root
124-
Given a WP install
125-
And a wp-extra-file.php file:
126-
"""
127-
hello world
128-
"""
129-
130-
When I try `wp core verify-checksums`
131-
Then STDERR should be:
132-
"""
133-
Warning: File should not exist: wp-extra-file.php
134-
"""
135-
And STDOUT should be:
136-
"""
137-
Success: WordPress installation verifies against checksums.
138-
"""
139-
And the return code should be 0
140-
141-
Scenario: Verify core checksums when extra files are included in WordPress root and --include-root is passed
142-
Given a WP install
143-
And a extra-file.php file:
144-
"""
145-
hello world
146-
"""
147-
148-
When I try `wp core verify-checksums --include-root`
149-
Then STDERR should be:
150-
"""
151-
Warning: File should not exist: extra-file.php
152-
"""
153-
And STDOUT should be:
154-
"""
155-
Success: WordPress installation verifies against checksums.
156-
"""
157-
And the return code should be 0
123+
Scenario: Verify core checksums when extra files prefixed with 'wp-' are included in WordPress root
124+
Given a WP install
125+
And a wp-extra-file.php file:
126+
"""
127+
hello world
128+
"""
129+
130+
When I try `wp core verify-checksums`
131+
Then STDERR should be:
132+
"""
133+
Warning: File should not exist: wp-extra-file.php
134+
"""
135+
And STDOUT should be:
136+
"""
137+
Success: WordPress installation verifies against checksums.
138+
"""
139+
And the return code should be 0
140+
141+
Scenario: Verify core checksums when extra files are included in WordPress root and --include-root is passed
142+
Given a WP install
143+
And a extra-file.php file:
144+
"""
145+
hello world
146+
"""
147+
148+
When I try `wp core verify-checksums --include-root`
149+
Then STDERR should be:
150+
"""
151+
Warning: File should not exist: extra-file.php
152+
"""
153+
And STDOUT should be:
154+
"""
155+
Success: WordPress installation verifies against checksums.
156+
"""
157+
And the return code should be 0
158158

159159
Scenario: Verify core checksums with a plugin that has wp-admin
160160
Given a WP install

0 commit comments

Comments
 (0)