Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: Failing test unit
  • Loading branch information
rollybueno committed Oct 29, 2025
commit b35b5cfcbb06f72f09d03b968c08ce20e880c7bf
12 changes: 6 additions & 6 deletions features/config-create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,6 @@ Feature: Create a wp-config file
define( 'DB_HOST', 'localhost:{SOCKET}' );
"""

When I run `wp config create --skip-check --dbname=somedb --dbuser=someuser --dbpass='my\\password'`
Then the wp-config.php file should contain:
"""
define( 'DB_PASSWORD', 'my\\\\password' )
"""

@require-php-7.0
Scenario: Configure with salts generated
Given an empty directory
Expand Down Expand Up @@ -265,6 +259,12 @@ Feature: Create a wp-config file
p@(ss){w0r?d><}"!With"DoubleQuotes
"""

When I run `wp config create --skip-check --dbname=somedb --dbuser=someuser --dbpass='my\\password'` --force
Then the wp-config.php file should contain:
"""
define( 'DB_PASSWORD', 'my\\\\password' )
"""

@require-mysql @require-mysql-5.7
Scenario: Configure with required SSL connection
Given an empty directory
Expand Down
Loading