Skip to content
Open
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: 6 additions & 2 deletions features/requests.feature
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ Feature: Requests integration with both v1 and v2
@require-mysql
Scenario: Current version with WordPress-bundled Requests v1
Given a WP installation
And I run `wp core update --version=5.8 --force`
# May produce a warning if the checksums for the version being replaced cannot be retrieved, e.g. for a development build.
And I try `wp core update --version=5.8 --force`
And the return code should be 0
And I run `rm -r wp-content/themes/*`

When I run `wp core version`
Expand Down Expand Up @@ -99,7 +101,9 @@ Feature: Requests integration with both v1 and v2
twentyten
"""
And I try `wp theme activate twentyten`
And I run `wp core update --version=6.2 --force`
# May produce a warning if the checksums for the version being replaced cannot be retrieved, e.g. for a development build.
And I try `wp core update --version=6.2 --force`
And the return code should be 0

When I run `wp core version`
Then STDOUT should contain:
Expand Down