@@ -8,13 +8,13 @@ Feature: Manage WordPress taxonomies
88 When I run `wp taxonomy list --format=csv`
99 Then STDOUT should be CSV containing:
1010 | name | label | description | object_type | show_tagcloud | hierarchical | public |
11- | category | Categories | | post | 1 | 1 | 1 |
12- | post_tag | Tags | | post | 1 | | 1 |
11+ | category | Categories | | post | true | true | true |
12+ | post_tag | Tags | | post | true | false | true |
1313
1414 When I run `wp taxonomy list --object_type=nav_menu_item --format=csv`
1515 Then STDOUT should be CSV containing:
1616 | name | label | description | object_type | show_tagcloud | hierarchical | public |
17- | nav_menu | Navigation Menus | | nav_menu_item | | | |
17+ | nav_menu | Navigation Menus | | nav_menu_item | false | false | false |
1818
1919 @require-wp-5.0
2020 Scenario : Listing taxonomies with counts
@@ -115,14 +115,14 @@ Feature: Manage WordPress taxonomies
115115 When I run `wp taxonomy list --object_type=post --strict`
116116 Then STDOUT should be a table containing rows:
117117 | name | label | description | object_type | show_tagcloud | hierarchical | public |
118- | category | Categories | | post | 1 | 1 | 1 |
119- | post_tag | Tags | | post | 1 | | 1 |
120- | post_format | Format | | post | | | 1 |
118+ | category | Categories | | post | true | true | true |
119+ | post_tag | Tags | | post | true | true | true |
120+ | post_format | Format | | post | false | false | true |
121121
122122 When I run `wp taxonomy list --object_type=post --no-strict`
123123 Then STDOUT should be a table containing rows:
124124 | name | label | description | object_type | show_tagcloud | hierarchical | public |
125- | category | Categories | | post | 1 | 1 | 1 |
126- | post_tag | Tags | | post | 1 | | 1 |
127- | post_format | Format | | post | | | 1 |
128- | genres | Genres | | post , page | 1 | 1 | 1 |
125+ | category | Categories | | post | false | true | true |
126+ | post_tag | Tags | | post | true | false | true |
127+ | post_format | Format | | post | false | false | true |
128+ | genres | Genres | | post , page | true | true | true |
0 commit comments