diff --git a/composer.json b/composer.json index 1147d983..fd552c60 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require-dev": { "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" + "wp-cli/wp-cli-tests": "^4.2.8" }, "config": { "process-timeout": 7200, diff --git a/features/config-create.feature b/features/config-create.feature index 15b4ca9f..bcbcf323 100644 --- a/features/config-create.feature +++ b/features/config-create.feature @@ -160,6 +160,62 @@ Feature: Create a wp-config file Error: Database connection error """ + @require-mysql + Scenario: Configure with database credentials using socket path + Given an empty directory + And WP files + And a find-socket.php file: + """ + getCode() . ') ' . $exception->getMessage() ); }