File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -216,12 +216,6 @@ Feature: Create a wp-config file
216216 define( 'DB_HOST', 'localhost:{SOCKET}' );
217217 """
218218
219- When I run `wp config create --skip-check --dbname=somedb --dbuser=someuser --dbpass='my\\password'`
220- Then the wp-config.php file should contain:
221- """
222- define( 'DB_PASSWORD', 'my\\\\password' )
223- """
224-
225219 @require-php-7.0
226220 Scenario: Configure with salts generated
227221 Given an empty directory
@@ -265,6 +259,12 @@ Feature: Create a wp-config file
265259 p@(ss){w0r?d><}"!With"DoubleQuotes
266260 """
267261
262+ When I run `wp config create --skip-check --dbname=somedb --dbuser=someuser --dbpass='my\\password'` --force
263+ Then the wp-config.php file should contain:
264+ """
265+ define( 'DB_PASSWORD', 'my\\\\password' )
266+ """
267+
268268 @require-mysql @require-mysql-5.7
269269 Scenario: Configure with required SSL connection
270270 Given an empty directory
You can’t perform that action at this time.
0 commit comments