@@ -15,7 +15,7 @@ Feature: Update WordPress core
1515 6.2
1616 """
1717
18- When I run `wget http ://wordpress.org/wordpress-6.2.zip --quiet `
18+ When I run `curl -sS -L --fail -o wordpress-6.2.zip https ://wordpress.org/wordpress-6.2.zip`
1919 And I run `wp core update wordpress-6.2.zip`
2020 Then STDOUT should be:
2121 """
@@ -46,7 +46,7 @@ Feature: Update WordPress core
4646 6.6
4747 """
4848
49- When I run `wget http ://wordpress.org/wordpress-6.8.zip --quiet `
49+ When I run `curl -sS -L --fail -o wordpress-6.8.zip https ://wordpress.org/wordpress-6.8.zip`
5050 And I run `wp core update wordpress-6.8.zip --format=json`
5151 Then STDOUT should be:
5252 """
@@ -67,7 +67,7 @@ Feature: Update WordPress core
6767 6.6
6868 """
6969
70- When I run `wget http ://wordpress.org/wordpress-6.8.zip --quiet `
70+ When I run `curl -sS -L --fail -o wordpress-6.8.zip https ://wordpress.org/wordpress-6.8.zip`
7171 And I run `wp core update wordpress-6.8.zip --format=csv`
7272 Then STDOUT should be:
7373 """
@@ -89,7 +89,7 @@ Feature: Update WordPress core
8989 6.6
9090 """
9191
92- When I run `wget http ://wordpress.org/wordpress-6.8.zip --quiet `
92+ When I run `curl -sS -L --fail -o wordpress-6.8.zip https ://wordpress.org/wordpress-6.8.zip`
9393 And I run `wp core update wordpress-6.8.zip --format=table`
9494 Then STDOUT should end with a table containing rows:
9595 | name | old_version | new_version | status |
@@ -357,7 +357,7 @@ Feature: Update WordPress core
357357 Given a WP install
358358
359359 # May produce warnings if checksums cannot be retrieved.
360- When I try `wp core upgrade --force http ://wordpress.org/nightly-builds/wordpress-latest.zip`
360+ When I try `wp core upgrade --force https ://wordpress.org/nightly-builds/wordpress-latest.zip`
361361 Then STDOUT should contain:
362362 """
363363 Success:
@@ -368,7 +368,7 @@ Feature: Update WordPress core
368368 """
369369
370370 # May produce warnings if checksums cannot be retrieved.
371- When I try `wp core upgrade --force http ://wordpress.org/nightly-builds/wordpress-latest.zip`
371+ When I try `wp core upgrade --force https ://wordpress.org/nightly-builds/wordpress-latest.zip`
372372 Then STDOUT should contain:
373373 """
374374 Success:
0 commit comments