We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0e2a2 commit fb2d6beCopy full SHA for fb2d6be
features/comment.feature
@@ -591,14 +591,20 @@ Feature: Manage WordPress comments
591
And save STDOUT as {COMMENT_ID_2}
592
593
When I run `wp comment delete {COMMENT_ID_1} {COMMENT_ID_2} 99999`
594
- Then STDOUT should be:
+ Then STDOUT should contain:
595
"""
596
Success: Trashed comment {COMMENT_ID_1}.
597
+ """
598
+ And STDOUT should contain:
599
600
Success: Trashed comment {COMMENT_ID_2}.
601
- And STDERR should be:
602
+ And STDERR should contain:
603
604
Warning: Failed deleting comment 99999.
605
606
607
608
Error: Failed deleting 1 comments.
609
610
And the return code should be 1
0 commit comments