From b0dd4d97a2978d945a43a6d8c19a998edf299743 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 3 Sep 2025 13:47:16 +0200 Subject: [PATCH 1/2] Fix tests for Hello Dolly --- features/language-plugin.feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/language-plugin.feature b/features/language-plugin.feature index bfbee5b1..ede317a5 100644 --- a/features/language-plugin.feature +++ b/features/language-plugin.feature @@ -5,10 +5,12 @@ Feature: Manage plugin translation files for a WordPress install Given a WP install And an empty cache - When I run `wp plugin install hello-dolly` + # Hello Dolly was moved from a single file to a directory in WordPress 6.9, + # hence forcing (re-)installation here. + When I run `wp plugin install hello-dolly --force` Then STDOUT should contain: """ - Plugin installed successfully. + Installed 1 of 1 plugins. """ And STDERR should be empty From fd482c0a4898f89772a31681fa4b04ded8eeffd1 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 4 Sep 2025 11:21:12 +0200 Subject: [PATCH 2/2] Fix other assertions --- features/language-plugin.feature | 8 -------- 1 file changed, 8 deletions(-) diff --git a/features/language-plugin.feature b/features/language-plugin.feature index ede317a5..a94e9636 100644 --- a/features/language-plugin.feature +++ b/features/language-plugin.feature @@ -181,10 +181,6 @@ Feature: Manage plugin translation files for a WordPress install """ akismet,de_DE,"not installed" """ - And STDOUT should contain: - """ - hello,de_DE,"not installed" - """ And STDOUT should contain: """ hello-dolly,de_DE,uninstalled @@ -197,10 +193,6 @@ Feature: Manage plugin translation files for a WordPress install """ akismet,de_DE,"not installed" """ - And STDOUT should contain: - """ - hello,de_DE,"not installed" - """ And STDOUT should contain: """ hello-dolly,de_DE,"not installed"