File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,19 @@ Feature: Generate new WordPress posts
5252
5353 Scenario : Generating post and outputting title and name
5454 When I run `wp post generate --count=3 --post_title=Howdy!`
55- And I run `wp post list --field=post_title --posts_per_page=3 `
55+ And I run `wp post list --field=post_title --posts_per_page=4 --orderby=ID --order=asc `
5656 Then STDOUT should contain:
5757 """
58+ Hello world!
5859 Howdy!
5960 Howdy! 2
6061 Howdy! 3
6162 """
6263 And STDERR should be empty
63- And I run `wp post list --field=post_name --posts_per_page=3 `
64+ And I run `wp post list --field=post_name --posts_per_page=4 --orderby=ID --order=asc `
6465 Then STDOUT should contain:
6566 """
67+ hello-world
6668 howdy
6769 howdy-2
6870 howdy-3
You can’t perform that action at this time.
0 commit comments