Skip to content

Commit 828e217

Browse files
authored
Merge pull request #494 from ernilambar/update-tests-menu-location
Use TwentyTwelve theme in menu location test
2 parents e72ba04 + b4906a7 commit 828e217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/menu-location.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Feature: Manage WordPress menu locations
22

33
Background:
44
Given a WP install
5+
And I run `wp theme delete --all --force`
6+
And I run `wp theme install twentytwelve --activate`
57

68
Scenario: Assign / remove location from a menu
7-
8-
When I run `wp theme install p2 --activate`
9-
And I run `wp menu location list`
9+
When I run `wp menu location list`
1010
Then STDOUT should be a table containing rows:
1111
| location | description |
1212
| primary | Primary Menu |

0 commit comments

Comments
 (0)