Skip to content

Commit ea5cf44

Browse files
authored
Merge pull request #714 from wp-cli/update-framework
Update wp-cli framework
2 parents b7aceac + c158cb2 commit ea5cf44

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/bootstrap.feature

Lines changed: 8 additions & 8 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:
48-
"""
49-
WP-CLI
50-
"""
47+
Then STDOUT should contain:
48+
"""
49+
WP-CLI
50+
"""
5151

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

features/config.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ 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:
10-
"""
7+
Given a WP installation
8+
And a new Phar with the same version
9+
And a wp-config.php file:
10+
"""
1111
<?php
1212
define( 'DB_NAME', 'wp_cli_test' );
1313
define( 'DB_USER', '{DB_USER}' );
@@ -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:
29-
"""
27+
When I run `{PHAR_PATH} eval "echo 'WP_CONTENT_DIR => ' . WP_CONTENT_DIR;"`
28+
Then STDOUT should not contain:
29+
"""
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:
35-
"""
33+
When I run `{PHAR_PATH} eval "echo 'WP_PLUGIN_DIR => ' . WP_PLUGIN_DIR;"`
34+
Then STDOUT should not contain:
35+
"""
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)