From 9aff77c3070f16521c9bc2f4ca63b466441c4663 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 27 Apr 2026 10:04:30 +0200 Subject: [PATCH 1/2] Harden `check-update` test --- features/plugin-check-update.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/plugin-check-update.feature b/features/plugin-check-update.feature index cdfd509f..b2ac80db 100644 --- a/features/plugin-check-update.feature +++ b/features/plugin-check-update.feature @@ -4,7 +4,9 @@ Feature: Check for plugin updates Scenario: Check for plugin updates with no updates available Given a WP install - When I run `wp plugin install wordpress-importer --activate` + # In case the bundled Akismet has newer version + When I run `wp plugin update --all` + And I run `wp plugin install wordpress-importer --activate` Then STDOUT should not be empty When I run `wp plugin check-update --all` From 9f1113ad8a74a555f2d26b14158d9245ebf0099a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 27 Apr 2026 10:27:40 +0200 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- features/plugin-check-update.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/plugin-check-update.feature b/features/plugin-check-update.feature index b2ac80db..01260570 100644 --- a/features/plugin-check-update.feature +++ b/features/plugin-check-update.feature @@ -4,7 +4,7 @@ Feature: Check for plugin updates Scenario: Check for plugin updates with no updates available Given a WP install - # In case the bundled Akismet has newer version + # In case Akismet has a newer release than the bundled version When I run `wp plugin update --all` And I run `wp plugin install wordpress-importer --activate` Then STDOUT should not be empty