Skip to content

Commit f9ffb78

Browse files
committed
refactor: remove redundant scenario for verifying core checksums with multiple file types
1 parent a4665e3 commit f9ffb78

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

features/checksum-core.feature

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -321,22 +321,6 @@ Feature: Validate checksums for WordPress install
321321
"""
322322
And the return code should be 1
323323

324-
Scenario: Core checksums verify format parameter with multiple file types
325-
Given a WP install
326-
And "Version" replaced with "v" in the wp-includes/version.php file
327-
And I run `rm wp-includes/nav-menu.php`
328-
And a wp-includes/extra.txt file:
329-
"""
330-
test file
331-
"""
332-
333-
When I try `wp core verify-checksums --format=json`
334-
Then STDOUT should contain:
335-
"""
336-
[{"file":"wp-includes\/nav-menu.php","message":"File doesn't exist"},{"file":"wp-includes\/version.php","message":"File doesn't verify against checksum"},{"file":"wp-includes\/extra.txt","message":"File should not exist"}]
337-
"""
338-
And the return code should be 1
339-
340324
Scenario: Core checksums verify with count format
341325
Given a WP install
342326
And "WordPress" replaced with "Modified" in the wp-includes/post.php file

0 commit comments

Comments
 (0)