Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"wp-cli/entity-command": "^1.3 || ^2 || ^3",
"wp-cli/export-command": "^1 || ^2 || ^3",
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
"wp-cli/wp-cli-tests": "^5"
"wp-cli/wp-cli-tests": "dev-setup-commands-step as 5.3.99"
},
"repositories": [
{
Expand Down
16 changes: 10 additions & 6 deletions features/import.feature
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ Feature: Import content.
And I run `mkdir export`

# NOTE: The Hello World page ID is 2.
When I run `wp menu create "My Menu"`
And I run `wp menu item add-post my-menu 2`
And I run `wp menu item list my-menu --format=count`
Given these setup commands:
| command |
| wp menu create "My Menu" |
| wp menu item add-post my-menu 2 |
When I run `wp menu item list my-menu --format=count`
Then STDOUT should be:
"""
1
Expand Down Expand Up @@ -234,9 +236,11 @@ Feature: Import content.
And I run `mkdir export`

# NOTE: The Hello World page ID is 2.
When I run `wp menu create "My Menu"`
And I run `wp menu item add-post my-menu 2`
And I run `wp menu item list my-menu --format=count`
Given these setup commands:
| command |
| wp menu create "My Menu" |
| wp menu item add-post my-menu 2 |
When I run `wp menu item list my-menu --format=count`
Then STDOUT should be:
"""
1
Expand Down
Loading