Skip to content

Commit 3ee4a3e

Browse files
committed
Fix test
1 parent 5ade271 commit 3ee4a3e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

features/core-check-update-db.feature

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

46-
# This test downgrades to an older WordPress version, but the SQLite plugin requires 6.0+
47-
@require-mysql
4846
Scenario: Check if database update is needed across network
4947
Given a WP multisite install
5048
And a disable_sidebar_check.php file:
@@ -55,9 +53,9 @@ Feature: Check if WordPress database update is needed
5553
} );
5654
"""
5755
And I try `wp theme install twentytwenty --activate`
58-
And I run `wp core download --version=5.4 --force`
59-
And I run `wp option update db_version 45805 --require=disable_sidebar_check.php`
60-
And I run `wp site option update wpmu_upgrade_site 45805`
56+
And I run `wp core download --version=6.6 --force`
57+
And I run `wp option update db_version 57155 --require=disable_sidebar_check.php`
58+
And I run `wp site option update wpmu_upgrade_site 57155`
6159
And I run `wp site create --slug=foo`
6260
And I run `wp site create --slug=bar`
6361
And I run `wp site create --slug=burrito --porcelain`
@@ -69,6 +67,7 @@ Feature: Check if WordPress database update is needed
6967
And I run `wp site archive {BURRITO_ID}`
7068
And I run `wp site spam {TACO_ID}`
7169
And I run `wp site delete {PIZZA_ID} --yes`
70+
And I run `wp core update`
7271

7372
When I try `wp core check-update-db --network`
7473
Then the return code should be 1

0 commit comments

Comments
 (0)