diff --git a/composer.json b/composer.json index 2f62851f..33e73981 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "wp-cli/entity-command": "^1.3 || ^2 || ^3", "wp-cli/eval-command": "^2.0 || ^3", "wp-cli/server-command": "^2.0 || ^3", - "wp-cli/wp-cli-tests": "^5" + "wp-cli/wp-cli-tests": "dev-create-sites-step as 5.3.99" }, "config": { "process-timeout": 7200, diff --git a/features/cron-event.feature b/features/cron-event.feature index 9ddda281..039d65a0 100644 --- a/features/cron-event.feature +++ b/features/cron-event.feature @@ -186,8 +186,10 @@ Feature: Manage WP Cron events Scenario: Run cron events with --network flag on multisite Given a WP multisite subdirectory install - And I run `wp site create --slug=site2` - And I run `wp site create --slug=site3` + And these sites: + | slug | + | site2 | + | site3 | When I run `wp cron event schedule wp_cli_network_test now` Then STDOUT should contain: