Skip to content

Commit 1a34b38

Browse files
authored
Merge pull request #2 from gitlost/issue_3971
In taxonomy test use "nav_menu_item" to avoid WP 4.4 data change issue.
2 parents 78e76a1 + c395955 commit 1a34b38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/taxonomy.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Feature: Manage WordPress taxonomies
1111
| category | Categories | | post | 1 | 1 | 1 |
1212
| post_tag | Tags | | post | 1 | | 1 |
1313

14-
When I run `wp taxonomy list --object_type=link --format=csv`
14+
When I run `wp taxonomy list --object_type=nav_menu_item --format=csv`
1515
Then STDOUT should be CSV containing:
16-
| name | label | description | object_type | show_tagcloud | hierarchical | public |
17-
| link_category | Link Categories | | link | | | |
16+
| name | label | description | object_type | show_tagcloud | hierarchical | public |
17+
| nav_menu | Navigation Menus | | nav_menu_item | | | |
1818

1919
Scenario: Get taxonomy
2020
When I try `wp taxonomy get invalid-taxonomy`

0 commit comments

Comments
 (0)