From dc3f370e6a7d398851108636b42e2b1f4379230f Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Thu, 23 Jul 2026 07:41:54 +0200 Subject: [PATCH] Modernize deprecated syntax in Behat tests WP-CLI now emits deprecation warnings when it rewrites legacy command syntax. Use the modern forms in the Behat scenarios so the standard run step can continue to require clean STDERR. --- features/profile.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/profile.feature b/features/profile.feature index 62cdce9d..a16da056 100644 --- a/features/profile.feature +++ b/features/profile.feature @@ -26,7 +26,7 @@ Feature: Basic profile usage """ define( 'SAVEQUERIES', false ); """ - And I run `wp core config {CORE_CONFIG_SETTINGS} --skip-check --extra-php < extra-php` + And I run `wp config create {CORE_CONFIG_SETTINGS} --skip-check --extra-php < extra-php` When I run `wp core install --url='https://localhost' --title='Test' --admin_user=wpcli --admin_email=admin@example.com --admin_password=1` Then the return code should be 0