Skip to content

Commit 347b431

Browse files
authored
Fix tests involving WordPress 7.0 (#332)
1 parent b6dd9c0 commit 347b431

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

features/core-check-update-db.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Feature: Check if WordPress database update is needed
4343
Success: WordPress database is up to date.
4444
"""
4545

46+
@require-php-7.4
4647
Scenario: Check if database update is needed across network
4748
Given a WP multisite install
4849
And a disable_sidebar_check.php file:

features/core-update.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Feature: Update WordPress core
161161
Downloading
162162
"""
163163

164-
@require-php-7.0
164+
@require-php-7.4
165165
Scenario: Don't run update when up-to-date
166166
Given a WP install
167167
And I run `wp core update`
@@ -387,6 +387,7 @@ Feature: Update WordPress core
387387
Success:
388388
"""
389389

390+
@require-php-7.4
390391
Scenario: No HTML output from async translation updates during core update
391392
Given a WP install
392393
And an empty cache

0 commit comments

Comments
 (0)