Skip to content
Merged
Changes from 2 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
12 changes: 6 additions & 6 deletions features/core-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: Update WordPress core
6.2
"""

When I run `wget http://wordpress.org/wordpress-6.2.zip --quiet`
When I run `curl -sS -L -o wordpress-6.2.zip https://wordpress.org/wordpress-6.2.zip`
Comment thread
swissspidy marked this conversation as resolved.
Outdated
And I run `wp core update wordpress-6.2.zip`
Then STDOUT should be:
"""
Expand Down Expand Up @@ -46,7 +46,7 @@ Feature: Update WordPress core
6.6
"""

When I run `wget http://wordpress.org/wordpress-6.8.zip --quiet`
When I run `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
Comment thread
swissspidy marked this conversation as resolved.
Outdated
And I run `wp core update wordpress-6.8.zip --format=json`
Then STDOUT should be:
"""
Expand All @@ -67,7 +67,7 @@ Feature: Update WordPress core
6.6
"""

When I run `wget http://wordpress.org/wordpress-6.8.zip --quiet`
When I run `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
Comment thread
swissspidy marked this conversation as resolved.
Outdated
And I run `wp core update wordpress-6.8.zip --format=csv`
Then STDOUT should be:
"""
Expand All @@ -89,7 +89,7 @@ Feature: Update WordPress core
6.6
"""

When I run `wget http://wordpress.org/wordpress-6.8.zip --quiet`
When I run `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
Comment thread
swissspidy marked this conversation as resolved.
Outdated
And I run `wp core update wordpress-6.8.zip --format=table`
Then STDOUT should end with a table containing rows:
| name | old_version | new_version | status |
Expand Down Expand Up @@ -357,7 +357,7 @@ Feature: Update WordPress core
Given a WP install

# May produce warnings if checksums cannot be retrieved.
When I try `wp core upgrade --force http://wordpress.org/nightly-builds/wordpress-latest.zip`
When I try `wp core upgrade --force https://wordpress.org/nightly-builds/wordpress-latest.zip`
Then STDOUT should contain:
"""
Success:
Expand All @@ -368,7 +368,7 @@ Feature: Update WordPress core
"""

# May produce warnings if checksums cannot be retrieved.
When I try `wp core upgrade --force http://wordpress.org/nightly-builds/wordpress-latest.zip`
When I try `wp core upgrade --force https://wordpress.org/nightly-builds/wordpress-latest.zip`
Then STDOUT should contain:
"""
Success:
Expand Down
Loading