Skip to content

Commit

Permalink
Change version
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 3, 2023
1 parent ac7a242 commit 71887de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/check-core-update.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Feature: Check whether WordPress is up to date
| name | status | message |
| core-update | success | WordPress is at the latest version. |

# This test downgrades to WordPress 5.9.0, but the SQLite plugin requires 6.0+
# This test downgrades to WordPress 5.9.1, but the SQLite plugin requires 6.0+
@requires-mysql
Scenario: WordPress has a new minor version but no new major version
Given a WP install
And I run `wp core download --version=5.9.0 --force`
And I run `wp core download --version=5.9.1 --force`
And I run `wp theme activate twentyfifteen`

When I try `wp doctor check core-update`
Expand All @@ -33,7 +33,7 @@ Feature: Check whether WordPress is up to date
"""
And the return code should be 1

# This test downgrades to WordPress 5.9.0, but the SQLite plugin requires 6.0+
# This test downgrades to WordPress 5.9.1, but the SQLite plugin requires 6.0+
@requires-mysql
Scenario: WordPress has a new major version but no new minor version
Given a WP install
Expand Down

0 comments on commit 71887de

Please sign in to comment.