Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions features/checksum-core.feature
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,15 @@ Feature: Validate checksums for WordPress install
"""

Scenario: Verify core checksums for a non US local
Given a WP install
# If current WP_VERSION is nightly, trunk or old then from checksum might not exist, so STDERR may or may not be empty.
And I try `wp core download --locale=en_GB --version=4.3.1 --force`
Given an empty directory
And I run `wp core download --locale=en_GB --version=4.3.1 --force`
Then STDOUT should contain:
"""
Success: WordPress downloaded.
"""
And the return code should be 0

# Similarly if current WP_VERSION is nightly, trunk or old then will get "File should not exist" warnings, so STDERR may or may not be empty.
When I try `wp core verify-checksums`
When I run `wp core verify-checksums`
Then STDOUT should be:
"""
Success: WordPress installation verifies against checksums.
Expand Down