Skip to content

Commit

Permalink
Merge pull request #132 from wp-cli/fix/131-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Oct 24, 2023
2 parents a86e46d + 786c863 commit b78d89b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions features/language-core.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -316,7 +317,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`
Expand Down
6 changes: 4 additions & 2 deletions features/language-plugin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit b78d89b

Please sign in to comment.