You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/config-create.feature
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -293,3 +293,15 @@ Feature: Create a wp-config file
293
293
PasswordWith'SingleQuotes'
294
294
"""
295
295
296
+
@require-mysql
297
+
Scenario: Configure with required SSL connection
298
+
Given an empty directory
299
+
And WP files
300
+
And I run `MYSQL_PWD='{WP_CLI_TEST_DBROOTPASS}' mysql -u root -e "CREATE USER IF NOT EXISTS 'wp_cli_test_ssl'@'127.0.0.1' IDENTIFIED BY 'password2' REQUIRE SSL;"`
301
+
302
+
When I try `wp config create --dbhost=127.0.0.1 --dbname=wp_cli_test --dbuser=wp_cli_test_ssl --dbpass=password2 --ssl`
0 commit comments