Skip to content

Commit 69b3dbe

Browse files
authored
Modernize deprecated syntax in Behat tests (#229)
1 parent 00055f5 commit 69b3dbe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎features/config-create.feature‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,20 +126,20 @@ Feature: Create a wp-config file
126126
define( 'AUTH_SALT',
127127
"""
128128
129-
Scenario: wp core config uses parameters from wp-cli.yml
129+
Scenario: wp config create uses parameters from wp-cli.yml
130130
Given an empty directory
131131
And WP files
132132
And a wp-cli.yml file:
133133
"""
134-
core config:
134+
config create:
135135
dbname: wordpress
136136
dbuser: root
137137
extra-php: |
138138
define( 'WP_DEBUG', true );
139139
define( 'WP_POST_REVISIONS', 50 );
140140
"""
141141
142-
When I run `wp core config --skip-check`
142+
When I run `wp config create --skip-check`
143143
Then the wp-config.php file should contain:
144144
"""
145145
define( 'DB_NAME', 'wordpress' )

0 commit comments

Comments
 (0)