From 54fd26e679ea6087782ef707b7569f7cb35a5356 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Thu, 23 Jul 2026 07:41:53 +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/db-import.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/db-import.feature b/features/db-import.feature index e0e92ca6..a650517d 100644 --- a/features/db-import.feature +++ b/features/db-import.feature @@ -147,7 +147,7 @@ Feature: Import a WordPress database wp db import """ - When I run `wp core config {CORE_CONFIG_SETTINGS}` + When I run `wp config create {CORE_CONFIG_SETTINGS}` Then STDOUT should not be empty And the wp-config.php file should exist