Skip to content

Commit 91c93ff

Browse files
authored
Merge pull request #360 from wp-cli/fix/trunk-tests
Fix test involving WordPress trunk
2 parents 78da8c4 + ff8b33f commit 91c93ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/install-wp-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Feature: Scaffold install-wp-tests.sh tests
383383
Leaving the existing database (wp_cli_test_scaffold) in place
384384
"""
385385
386-
@require-php-7.2 @require-mysql
386+
@require-php-7.4 @require-mysql
387387
Scenario: Install WordPress from trunk
388388
Given a WP install
389389
And a get-phpunit-phar-url.php file:

features/scaffold-lint.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Feature: Lint scaffolded code
2626
Then the return code should be 0
2727

2828
Scenario: Scaffold post-type and lint it
29-
When I run `wp theme install twentytwentyone --activate`
29+
When I run `wp theme install twentytwentyone --force --activate`
3030
And I run `wp eval 'echo STYLESHEETPATH;'`
3131
And save STDOUT as {STYLESHEETPATH}
3232

@@ -38,7 +38,7 @@ Feature: Lint scaffolded code
3838
Then the return code should be 0
3939

4040
Scenario: Scaffold taxonomy and lint it
41-
When I run `wp theme install twentytwentyone --activate`
41+
When I run `wp theme install twentytwentyone --force --activate`
4242
And I run `wp eval 'echo STYLESHEETPATH;'`
4343
And save STDOUT as {STYLESHEETPATH}
4444

@@ -61,7 +61,7 @@ Feature: Lint scaffolded code
6161
Then the return code should be 0
6262

6363
Scenario: Scaffold child theme and lint it
64-
When I run `wp theme install twentytwentyone --activate`
64+
When I run `wp theme install twentytwentyone --force --activate`
6565
And I run `wp theme path`
6666
And save STDOUT as {THEME_DIR}
6767

0 commit comments

Comments
 (0)