Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions features/language-plugin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -179,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
Expand All @@ -195,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"
Expand Down