Skip to content

Commit fcd1b7d

Browse files
authored
Fix tests involving WordPress 7.0 (#386)
1 parent 597c648 commit fcd1b7d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

features/install-wp-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Feature: Scaffold install-wp-tests.sh tests
1616
"""
1717
And the return code should be 1
1818

19-
@less-than-php-8.0 @require-php-7.0 @require-mysql
19+
@less-than-php-8.0 @require-php-7.4 @require-mysql
2020
Scenario: Install latest version of WordPress
2121
Given a WP install
2222
And a affirmative-response file:

features/scaffold-theme-tests.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Scaffold theme unit tests
88
When I run `wp theme path`
99
Then save STDOUT as {THEME_DIR}
1010

11-
@require-php-7.0 @require-mysql
11+
@require-php-7.4 @require-mysql
1212
Scenario: Scaffold theme tests
1313
When I run `wp scaffold theme-tests t12child`
1414
Then STDOUT should not be empty

0 commit comments

Comments
 (0)