File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,30 +233,30 @@ Feature: Validate checksums for WordPress install
233233 Given a WP install
234234 And "WordPress" replaced with "PressWord" in the readme.html file
235235 And a wp-includes/some-filename.php file:
236- """
237- sample content of some file
238- """
236+ """
237+ sample content of some file
238+ """
239239
240240 When I try `wp core verify-checksums --exclude='readme.html,wp-includes/some-filename.php' `
241241 Then STDERR should be empty
242242 And STDOUT should be:
243- """
244- Success: WordPress installation verifies against checksums.
245- """
243+ """
244+ Success: WordPress installation verifies against checksums.
245+ """
246246 And the return code should be 0
247247
248248 Scenario : Verify core checksums with missing excluded file
249249 Given a WP install
250250 And "WordPress" replaced with "PressWord" in the readme.html file
251251 And a wp-includes/some-filename.php file:
252- """
253- sample content of some file
254- """
252+ """
253+ sample content of some file
254+ """
255255
256256 When I try `wp core verify-checksums --exclude='wp-includes/some-filename.php' `
257257 Then STDERR should be:
258258 """
259259 Warning: File doesn't verify against checksum: readme.html
260260 Error: WordPress installation doesn't verify against checksums.
261261 """
262- And the return code should be 1
262+ And the return code should be 1
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ Feature: Validate checksums for WordPress plugins
135135 unset( $all_plugins['duplicate-post/duplicate-post.php'] );
136136 return $all_plugins;
137137 } );
138- """
138+ """
139139 And "Duplicate Post" replaced with "Different Name" in the wp-content/plugins/duplicate-post/duplicate-post.php file
140140
141141 When I run `wp plugin list --fields=name`
You can’t perform that action at this time.
0 commit comments