Skip to content

Commit

Permalink
Add feature test for multiple themes installation with activate flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Apr 26, 2024
1 parent ca76af1 commit 3759f6a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/theme-install.feature
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,12 @@ Feature: Install WordPress themes
Success: Switched to 'Twenty Twelve' theme.
Success: Theme already installed.
"""

Scenario: Installation of multiple themes with activate
Given a WP install

When I try `wp theme install p2 moina --activate`
Then STDERR should contain:
"""
Warning: Only a single theme can be active.
"""

0 comments on commit 3759f6a

Please sign in to comment.