Skip to content

Commit b78d89b

Browse files
authored
Merge pull request #132 from wp-cli/fix/131-sqlite
2 parents a86e46d + 786c863 commit b78d89b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

features/language-core.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ Feature: Manage translation files for a WordPress install
297297
And STDOUT should be empty
298298
And the return code should be 0
299299

300-
@require-wp-4.0
300+
# This test downgrades to WordPress 5.4.1, but the SQLite plugin requires 6.0+
301+
@require-wp-4.0 @require-mysql
301302
Scenario: Ensure correct language is installed for WP version
302303
Given a WP install
303304
And I run `wp theme activate twentytwentyone`
@@ -316,7 +317,8 @@ Feature: Manage translation files for a WordPress install
316317
"""
317318
And the return code should be 0
318319

319-
@require-wp-4.0
320+
# This test downgrades to WordPress 5.4.1, but the SQLite plugin requires 6.0+
321+
@require-wp-4.0 @require-mysql
320322
Scenario: Ensure upgrader output is in English
321323
Given a WP install
322324
And I run `wp theme activate twentytwentyone`

features/language-plugin.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ Feature: Manage translation files for a WordPress install
220220
And STDOUT should be empty
221221
And the return code should be 0
222222

223-
@require-wp-4.0
223+
# An empty plugin directory breaks SQLite integration, which uses a plugin.
224+
@require-wp-4.0 @require-mysql
224225
Scenario: Not providing plugin slugs should throw an error unless --all given
225226
Given a WP install
226227
And I run `wp plugin path`
@@ -385,7 +386,8 @@ Feature: Manage translation files for a WordPress install
385386
And STDERR should be empty
386387

387388

388-
@require-wp-4.0
389+
# An empty plugin directory breaks SQLite integration, which uses a plugin.
390+
@require-wp-4.0 @require-mysql
389391
Scenario: Install translations for all installed plugins
390392
Given a WP install
391393
And I run `wp plugin path`

0 commit comments

Comments
 (0)