Skip to content

Commit

Permalink
Re-ordering of test steps
Browse files Browse the repository at this point in the history
Co-authored-by: Alain Schlesser <[email protected]>
  • Loading branch information
borkweb and schlessera authored Sep 11, 2022
1 parent ac1523d commit 7890063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/config-create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ Feature: Create a wp-config file
Error: The site you have requested is not installed
"""
When I run `rm wp-custom-config.php`
Then the wp-custom-config.php file should not exist
Given a wp-config-extra.php file:
"""
define( 'WP_DEBUG', true );
"""
When I run `rm wp-custom-config.php`
Then the wp-custom-config.php file should not exist
When I run `wp core config {CORE_CONFIG_SETTINGS} --config-file='wp-custom-config.php' --extra-php < wp-config-extra.php`
Then the wp-custom-config.php file should contain:
"""
Expand Down

0 comments on commit 7890063

Please sign in to comment.