Skip to content

Commit 0634f76

Browse files
committed
Update feature tests
1 parent 2b9d7de commit 0634f76

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

features/bootstrap.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ Feature: Bootstrap WP-CLI
4444
And I run `composer install --working-dir={RUN_DIR}/cli-override-command --no-interaction 2>&1`
4545

4646
When I run `{PHAR_PATH} cli version`
47-
Then STDOUT should contain:
47+
Then STDOUT should contain:
4848
"""
4949
WP-CLI
5050
"""
5151

5252
When I run `{PHAR_PATH} --require=cli-override-command/cli.php cli version`
53-
Then STDOUT should contain:
53+
Then STDOUT should contain:
5454
"""
5555
WP-Override-CLI
5656
"""

features/config.feature

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Feature: wp-config.php tests
44
# Only testing on MySQL because the SQLite drop-in is not added to the custom directories in this test.
55
@require-mysql
66
Scenario: __FILE__ and __DIR__ in wp-config.php don't point into the PHAR filesystem
7-
Given a WP installation
8-
And a new Phar with the same version
9-
And a wp-config.php file:
7+
Given a WP installation
8+
And a new Phar with the same version
9+
And a wp-config.php file:
1010
"""
1111
<?php
1212
define( 'DB_NAME', 'wp_cli_test' );
@@ -24,14 +24,14 @@ Feature: wp-config.php tests
2424
require_once( ABSPATH . 'wp-settings.php' );
2525
"""
2626

27-
When I run `{PHAR_PATH} eval "echo 'WP_CONTENT_DIR => ' . WP_CONTENT_DIR;"`
28-
Then STDOUT should not contain:
27+
When I run `{PHAR_PATH} eval "echo 'WP_CONTENT_DIR => ' . WP_CONTENT_DIR;"`
28+
Then STDOUT should not contain:
2929
"""
3030
WP_CONTENT_DIR => phar://
3131
"""
3232

33-
When I run `{PHAR_PATH} eval "echo 'WP_PLUGIN_DIR => ' . WP_PLUGIN_DIR;"`
34-
Then STDOUT should not contain:
33+
When I run `{PHAR_PATH} eval "echo 'WP_PLUGIN_DIR => ' . WP_PLUGIN_DIR;"`
34+
Then STDOUT should not contain:
3535
"""
3636
WP_PLUGIN_DIR => phar://
3737
"""

features/requests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Feature: Requests integration with both v1 and v2
7777
Success: Installed 1 of 1 plugins.
7878
"""
7979

80-
Scenario: Current version with WordPress-bundled Requests v2
80+
Scenario: Current version with WordPress-bundled Requests v2
8181
Given a WP installation
8282
# Switch themes because twentytwentyfive requires a version newer than 6.2
8383
# and it would otherwise cause a fatal error further down.

0 commit comments

Comments
 (0)