diff --git a/composer.json b/composer.json index fc82787e..ba760db6 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "wp-cli/entity-command": "^1.3 || ^2 || ^3", "wp-cli/export-command": "^1 || ^2 || ^3", "wp-cli/extension-command": "^1.2 || ^2 || ^3", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-set-options-step as 5.3.99" }, "repositories": [ { diff --git a/features/import.feature b/features/import.feature index 9381e0e3..715d7add 100644 --- a/features/import.feature +++ b/features/import.feature @@ -389,9 +389,12 @@ Feature: Import content. Warning: """ - When I run `wp option update home https://newsite.com/` - And I run `wp option update siteurl https://newsite.com` - And I run `wp --assume-https import {EXPORT_FILE} --authors=skip --rewrite_urls` + Given these options: + | name | value | + | home | https://newsite.com/ | + | siteurl | https://newsite.com | + + When I run `wp --assume-https import {EXPORT_FILE} --authors=skip --rewrite_urls` Then STDOUT should not be empty When I run `wp post list --post_type=any --format=csv --fields=post_content`