File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -489,11 +489,20 @@ Feature: Manage WordPress comments
489489 """
490490
491491 When I run `wp comment delete --all`
492- Then STDOUT should be :
492+ Then STDOUT should contain :
493493 """
494494 Success: Trashed comment 1.
495+ """
496+ And STDOUT should contain:
497+ """
495498 Success: Trashed comment {COMMENT_ID_1}.
499+ """
500+ And STDOUT should contain:
501+ """
496502 Success: Trashed comment {COMMENT_ID_2}.
503+ """
504+ And STDOUT should contain:
505+ """
497506 Success: Trashed comment {COMMENT_ID_3}.
498507 """
499508
@@ -517,10 +526,16 @@ Feature: Manage WordPress comments
517526 """
518527
519528 When I run `wp comment delete --all --force`
520- Then STDOUT should be :
529+ Then STDOUT should contain :
521530 """
522531 Success: Deleted comment 1.
532+ """
533+ And STDOUT should contain:
534+ """
523535 Success: Deleted comment {COMMENT_ID_1}.
536+ """
537+ And STDOUT should contain:
538+ """
524539 Success: Deleted comment {COMMENT_ID_2}.
525540 """
526541
You can’t perform that action at this time.
0 commit comments