File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ Feature: Manage WordPress posts
223223 Then STDOUT should be:
224224 """
225225 http://example.com/?p=1
226- http://example.com/?p=3
226+ http://example.com/?p={POST_ID}
227227 """
228228
229229 Scenario : Update a post from file or STDIN
@@ -308,7 +308,7 @@ Feature: Manage WordPress posts
308308 """
309309
310310 When I run `wp post list --post_type='page' --field=title`
311- Then STDOUT should be :
311+ Then STDOUT should contain :
312312 """
313313 Sample Page
314314 """
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ Feature: Empty a WordPress site of its data
1717 """
1818 And the return code should be 1
1919
20- When I run `wp post create --post_title='Test post' --post_content='Test content.' --porcelain `
21- Then STDOUT should be :
20+ When I run `wp post create --post_title='Test post' --post_content='Test content.' `
21+ Then STDOUT should contain :
2222 """
23- 4
23+ Success: Created post
2424 """
2525
2626 When I run `wp term create post_tag 'Test term' --slug=test --description='This is a test term' `
You can’t perform that action at this time.
0 commit comments