Skip to content

Commit 576f5bd

Browse files
schlesseraclaude
andcommitted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent be31030 commit 576f5bd

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"wp-cli/entity-command": "^1.3 || ^2 || ^3",
2020
"wp-cli/export-command": "^1 || ^2 || ^3",
2121
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
22-
"wp-cli/wp-cli-tests": "^5"
22+
"wp-cli/wp-cli-tests": "dev-setup-commands-step as 5.3.99"
2323
},
2424
"repositories": [
2525
{

‎features/import.feature‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,11 @@ Feature: Import content.
157157
And I run `mkdir export`
158158

159159
# NOTE: The Hello World page ID is 2.
160-
When I run `wp menu create "My Menu"`
161-
And I run `wp menu item add-post my-menu 2`
162-
And I run `wp menu item list my-menu --format=count`
160+
Given these setup commands:
161+
| command |
162+
| wp menu create "My Menu" |
163+
| wp menu item add-post my-menu 2 |
164+
When I run `wp menu item list my-menu --format=count`
163165
Then STDOUT should be:
164166
"""
165167
1
@@ -234,9 +236,11 @@ Feature: Import content.
234236
And I run `mkdir export`
235237

236238
# NOTE: The Hello World page ID is 2.
237-
When I run `wp menu create "My Menu"`
238-
And I run `wp menu item add-post my-menu 2`
239-
And I run `wp menu item list my-menu --format=count`
239+
Given these setup commands:
240+
| command |
241+
| wp menu create "My Menu" |
242+
| wp menu item add-post my-menu 2 |
243+
When I run `wp menu item list my-menu --format=count`
240244
Then STDOUT should be:
241245
"""
242246
1

0 commit comments

Comments
 (0)