From 90a9ed211cac109947169d1c32938702ef985068 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 23 Oct 2023 22:06:49 +0200 Subject: [PATCH 1/3] Skip some tests on SQLite --- 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 841edf83..8f5181f5 100644 --- a/features/language-plugin.feature +++ b/features/language-plugin.feature @@ -220,7 +220,8 @@ Feature: Manage translation files for a WordPress install And STDOUT should be empty And the return code should be 0 - @require-wp-4.0 + # An empty plugin directory breaks SQLite integration, which uses a plugin. + @require-wp-4.0 @require-mysql Scenario: Not providing plugin slugs should throw an error unless --all given Given a WP install And I run `wp plugin path` @@ -385,7 +386,8 @@ Feature: Manage translation files for a WordPress install And STDERR should be empty - @require-wp-4.0 + # An empty plugin directory breaks SQLite integration, which uses a plugin. + @require-wp-4.0 @require-mysql Scenario: Install translations for all installed plugins Given a WP install And I run `wp plugin path` From 8ac3190359490107c820b0835dff5a1b5bc39699 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 24 Oct 2023 15:15:06 +0200 Subject: [PATCH 2/3] Skip test --- features/language-core.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/language-core.feature b/features/language-core.feature index 6c028108..659f0758 100644 --- a/features/language-core.feature +++ b/features/language-core.feature @@ -316,7 +316,8 @@ Feature: Manage translation files for a WordPress install """ And the return code should be 0 - @require-wp-4.0 + # This test downgrades to WordPress 5.4.1, but the SQLite plugin requires 6.0+ + @require-wp-4.0 @require-mysql Scenario: Ensure upgrader output is in English Given a WP install And I run `wp theme activate twentytwentyone` From 786c8637bfbe0a603d18e8567a7e8fb6cb12b3fc Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 24 Oct 2023 15:26:33 +0200 Subject: [PATCH 3/3] Skip another test --- features/language-core.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/language-core.feature b/features/language-core.feature index 659f0758..26e3adca 100644 --- a/features/language-core.feature +++ b/features/language-core.feature @@ -297,7 +297,8 @@ Feature: Manage translation files for a WordPress install And STDOUT should be empty And the return code should be 0 - @require-wp-4.0 + # This test downgrades to WordPress 5.4.1, but the SQLite plugin requires 6.0+ + @require-wp-4.0 @require-mysql Scenario: Ensure correct language is installed for WP version Given a WP install And I run `wp theme activate twentytwentyone`