Skip to content

Commit 93f028b

Browse files
Copilotswissspidy
andcommitted
Fix test expectations for WordPress 6.6 database revision
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 3e67d56 commit 93f028b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

features/core-version.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Feature: Find version for WordPress install
4949
When I run `wp core version --extra`
5050
Then STDOUT should contain:
5151
"""
52-
Database revision: 47018
52+
Database revision: 57155
5353
"""
5454

5555
# With --actual, should show actual database version
@@ -64,7 +64,7 @@ Feature: Find version for WordPress install
6464
Scenario: Verify actual database version in multisite subsite
6565
Given a WP multisite install
6666
And I run `wp core download --version=6.6 --force`
67-
And I run `wp option update db_version 47018`
67+
And I run `wp option update db_version 57155`
6868
And I run `wp site create --slug=subsite --porcelain`
6969
And save STDOUT as {SUBSITE_ID}
7070
And I run `wp option update db_version 45805 --url=example.com/subsite`
@@ -73,21 +73,21 @@ Feature: Find version for WordPress install
7373
When I run `wp core version --extra`
7474
Then STDOUT should contain:
7575
"""
76-
Database revision: 47018
76+
Database revision: 57155
7777
"""
7878

7979
# Main site shows actual database version with --actual
8080
When I run `wp core version --extra --actual`
8181
Then STDOUT should contain:
8282
"""
83-
Database revision: 47018
83+
Database revision: 57155
8484
"""
8585

8686
# Subsite shows expected version from version.php without --actual
8787
When I run `wp core version --extra --url=example.com/subsite`
8888
Then STDOUT should contain:
8989
"""
90-
Database revision: 47018
90+
Database revision: 57155
9191
"""
9292

9393
# Subsite shows its own actual database version with --actual

0 commit comments

Comments
 (0)