Skip to content

Commit b35b5cf

Browse files
committed
Fix: Failing test unit
1 parent 0b24d51 commit b35b5cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

features/config-create.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)