diff --git a/features/check-core-update.feature b/features/check-core-update.feature index c14e5d7..eb4bd8e 100644 --- a/features/check-core-update.feature +++ b/features/check-core-update.feature @@ -16,9 +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+ + @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=4.5.1 --force` + And I run `wp core download --version=5.9.0 --force` And I run `wp theme activate twentyfifteen` When I try `wp doctor check core-update` @@ -31,6 +33,8 @@ 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+ + @requires-mysql Scenario: WordPress has a new major version but no new minor version Given a WP install And I run `wp core download --version=4.4.9 --force` diff --git a/features/check-file-contents.feature b/features/check-file-contents.feature index 8263b97..76039a1 100644 --- a/features/check-file-contents.feature +++ b/features/check-file-contents.feature @@ -19,7 +19,7 @@ Feature: Check files in a WordPress install Given a wp-content/mu-plugins/exploited.php file: """