diff --git a/composer.json b/composer.json index fc82787e..689c27fb 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-cached-extension-installs as 5.3.99" }, "repositories": [ { diff --git a/features/import.feature b/features/import.feature index 9381e0e3..a18082d2 100644 --- a/features/import.feature +++ b/features/import.feature @@ -306,7 +306,10 @@ Feature: Import content. @require-wp-5.2 @require-mysql Scenario: Indicate current file when importing Given a WP install - And I run `wp plugin install --activate wordpress-importer` + And these installed and active plugins: + """ + wordpress-importer + """ When I run `wp export --filename_format=wordpress.{n}.xml` Then save STDOUT 'Writing to file %s' as {EXPORT_FILE} @@ -323,7 +326,10 @@ Feature: Import content. @require-wp-5.2 Scenario: Handling of non-existing files and directories Given a WP install - And I run `wp plugin install --activate wordpress-importer` + And these installed and active plugins: + """ + wordpress-importer + """ And I run `wp export` And save STDOUT 'Writing to file %s' as {EXPORT_FILE} And an empty 'empty_test_directory' directory @@ -403,7 +409,10 @@ Feature: Import content. @require-wp-5.2 @require-mysql Scenario: Specifying a non-existent importer class produces an error Given a WP install - And I run `wp plugin install wordpress-importer --activate` + And these installed and active plugins: + """ + wordpress-importer + """ When I run `wp export` Then save STDOUT 'Writing to file %s' as {EXPORT_FILE} @@ -418,7 +427,10 @@ Feature: Import content. @require-wp-5.2 @require-mysql Scenario: Specifying an importer class that is not a subclass of WP_Import produces an error Given a WP install - And I run `wp plugin install wordpress-importer --activate` + And these installed and active plugins: + """ + wordpress-importer + """ When I run `wp export` Then save STDOUT 'Writing to file %s' as {EXPORT_FILE} @@ -433,7 +445,10 @@ Feature: Import content. @require-wp-5.2 @require-mysql Scenario: Specifying a valid custom importer subclass succeeds Given a WP install - And I run `wp plugin install wordpress-importer --activate` + And these installed and active plugins: + """ + wordpress-importer + """ And a wp-content/mu-plugins/custom-importer.php file: """