File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,15 @@ Feature: Generate new WordPress posts
4444
4545 Scenario : Generating post and outputting title and name
4646 When I run `wp post generate --count=3 --post_title=Howdy!`
47- When I run `wp post list --format=count`
48- And save STDOUT as {POST_COUNT}
49- And I run `wp post list --field=post_title --posts_per_page={POST_COUNT}`
47+ And I run `wp post list --field=post_title --posts_per_page=3`
5048 Then STDOUT should contain:
5149 """
5250 Howdy!
5351 Howdy! 2
5452 Howdy! 3
5553 """
5654 And STDERR should be empty
57- And I run `wp post list --field=post_name --posts_per_page={POST_COUNT} `
55+ And I run `wp post list --field=post_name --posts_per_page=3 `
5856 Then STDOUT should contain:
5957 """
6058 howdy
You can’t perform that action at this time.
0 commit comments