Skip to content
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions features/config-create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,20 @@ Feature: Create a wp-config file
define( 'AUTH_SALT',
"""

Scenario: wp core config uses parameters from wp-cli.yml
Scenario: wp config create uses parameters from wp-cli.yml
Given an empty directory
And WP files
And a wp-cli.yml file:
"""
core config:
config create:
dbname: wordpress
dbuser: root
extra-php: |
define( 'WP_DEBUG', true );
define( 'WP_POST_REVISIONS', 50 );
"""

When I run `wp core config --skip-check`
When I run `wp config create --skip-check`
Then the wp-config.php file should contain:
"""
define( 'DB_NAME', 'wordpress' )
Expand Down
Loading