File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Feature: Update WordPress core
1515 6.2
1616 """
1717
18- When I run `curl -sS -L -o wordpress-6.2.zip https://wordpress.org/wordpress-6.2.zip`
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 `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
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 `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
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 `curl -sS -L -o wordpress-6.8.zip https://wordpress.org/wordpress-6.8.zip`
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 |
You can’t perform that action at this time.
0 commit comments