Skip to content

Commit 9891f2d

Browse files
committed
Allow for modern-wordpress redirect; explicit list not search in upgradables.
1 parent dfacef0 commit 9891f2d

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

features/plugin-install.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ Feature: Install WordPress plugins
5050
"""
5151
Plugin installed successfully.
5252
"""
53-
And STDOUT should contain:
54-
"""
55-
Renamed Github-based project from 'modern-wordpress-master' to 'modern-wordpress'.
56-
"""
53+
And STDOUT should match /Renamed Github-based project from 'modern-(?:wordpress|framework)-master' to 'modern-wordpress'/
5754
# Wrong directory.
5855
And the wp-content/plugins/modern-wordpress directory should exist
5956
And the wp-content/plugins/modern-framework directory should not exist

features/upgradables.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ Feature: Manage WordPress themes and plugins
171171
"""
172172
And the <file_to_check> file should not exist
173173

174-
When I run `wp <type> search <item> --per-page=2 --fields=name,slug`
175-
Then STDOUT should contain:
174+
When I run `wp <type> list --fields=name`
175+
Then STDOUT should not contain:
176176
"""
177-
Showing 2 of
177+
<item>
178178
"""
179179

180180
When I try `wp <type> install an-impossible-slug-because-abc3fr`

0 commit comments

Comments
 (0)