File tree Expand file tree Collapse file tree 5 files changed +6
-11
lines changed
Expand file tree Collapse file tree 5 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -80,4 +80,3 @@ Feature: Manage comment custom fields
8080 | 1 | apple | banana |
8181 | 1 | apple | banana |
8282 | 1 | banana | ["apple ","apple "] |
83-
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Feature: Manage WordPress menu items
6565 Success: Deleted 1 of 1 menu items.
6666 """
6767 And I run `wp menu item list sidebar-menu --format=count`
68- Then STDOUT should be:
68+ And STDOUT should be:
6969 """
7070 2
7171 """
@@ -76,7 +76,7 @@ Feature: Manage WordPress menu items
7676 Success: Deleted 2 of 2 menu items.
7777 """
7878 And I run `wp menu item list sidebar-menu --format=count`
79- Then STDOUT should be:
79+ And STDOUT should be:
8080 """
8181 0
8282 """
@@ -103,8 +103,7 @@ Feature: Manage WordPress menu items
103103 | Child | {CHILD_ID } | {PARENT_ID } |
104104
105105 When I run `wp menu item delete {PARENT_ID}`
106-
107- When I run `wp menu item list grandparent-test --fields=title,db_id,menu_item_parent`
106+ And I run `wp menu item list grandparent-test --fields=title,db_id,menu_item_parent`
108107 Then STDOUT should be a table containing rows:
109108 | title | db_id | menu_item_parent |
110109 | Grandparent | {GRANDPARENT_ID } | 0 |
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ Feature: List WordPress options
143143 Then STDOUT should be:
144144 """
145145 ---
146- -
146+ -
147147 option_name: sample_test_field_one
148148 option_value:
149149 value: 1
@@ -197,4 +197,4 @@ Feature: List WordPress options
197197 And STDOUT should contain:
198198 """
199199 sample_value_four
200- """
200+ """
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ Feature: Option commands have pluck and patch.
319319 And the return code should be 1
320320
321321 When I run `wp option patch update option_name foo 0`
322- And STDOUT should be:
322+ Then STDOUT should be:
323323 """
324324 Success: Updated 'option_name' option.
325325 """
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ Feature: Manage WordPress options
106106 0
107107 """
108108
109-
110109 # JSON values
111110 When I run `wp option set json_opt '[ 1, 2 ]' --format=json`
112111 Then STDOUT should not be empty
@@ -120,7 +119,6 @@ Feature: Manage WordPress options
120119 [1,2]
121120 """
122121
123-
124122 # Reading from files
125123 Given a value.json file:
126124 """
@@ -182,7 +180,6 @@ Feature: Manage WordPress options
182180 | option_name | option_value | autoload |
183181 | hello | island | on |
184182
185-
186183 @require-wp-4.2
187184 @less-than-wp-6.6
188185 Scenario: Managed autoloaded options
You can’t perform that action at this time.
0 commit comments