Skip to content

Commit 3759f6a

Browse files
committed
Add feature test for multiple themes installation with activate flag
1 parent ca76af1 commit 3759f6a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

features/theme-install.feature

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,12 @@ Feature: Install WordPress themes
105105
Success: Switched to 'Twenty Twelve' theme.
106106
Success: Theme already installed.
107107
"""
108+
109+
Scenario: Installation of multiple themes with activate
110+
Given a WP install
111+
112+
When I try `wp theme install p2 moina --activate`
113+
Then STDERR should contain:
114+
"""
115+
Warning: Only a single theme can be active.
116+
"""

0 commit comments

Comments
 (0)