@@ -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
@@ -75,17 +75,17 @@ Feature: Manage WordPress taxonomies
7575 When I run `wp taxonomy list --object_type=post --strict`
7676 Then STDOUT should be a table containing rows:
7777 | name | label | description | object_type | show_tagcloud | hierarchical | public |
78- | category | Categories | | post | 1 | 1 | 1 |
79- | post_tag | Tags | | post | 1 | | 1 |
80- | post_format | Formats | | post | | | 1 |
78+ | category | Categories | | post | true | true | true |
79+ | post_tag | Tags | | post | true | false | true |
80+ | post_format | Formats | | post | false | false | true |
8181
8282 When I run `wp taxonomy list --object_type=post --no-strict`
8383 Then STDOUT should be a table containing rows:
8484 | name | label | description | object_type | show_tagcloud | hierarchical | public |
85- | category | Categories | | post | 1 | 1 | 1 |
86- | post_tag | Tags | | post | 1 | | 1 |
87- | post_format | Formats | | post | | | 1 |
88- | genres | Genres | | post , page | 1 | 1 | 1 |
85+ | category | Categories | | post | true | true | true |
86+ | post_tag | Tags | | post | true | false | true |
87+ | post_format | Formats | | post | false | false | true |
88+ | genres | Genres | | post , page | true | true | true |
8989
9090 @less-than-wp-5.1
9191 Scenario : Listing taxonomies with strict/no-strict mode (for WP < 5.1)
@@ -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