Skip to content

Commit a8bdff2

Browse files
committed
test: ah, the problem was I try vs I run
1 parent d0dd60a commit a8bdff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/comment.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ Feature: Manage WordPress comments
590590
And I run `wp comment create --comment_post_ID=1 --comment_content='Comment 2' --porcelain`
591591
And save STDOUT as {COMMENT_ID_2}
592592

593-
When I run `wp comment delete {COMMENT_ID_1} {COMMENT_ID_2} 99999`
593+
When I try `wp comment delete {COMMENT_ID_1} {COMMENT_ID_2} 99999`
594594
Then STDOUT should contain:
595595
"""
596596
Success: Trashed comment {COMMENT_ID_1}.
@@ -599,11 +599,11 @@ Feature: Manage WordPress comments
599599
"""
600600
Success: Trashed comment {COMMENT_ID_2}.
601601
"""
602-
And STDOUT should contain:
602+
And STDERR should contain:
603603
"""
604604
Warning: Failed deleting comment 99999.
605605
"""
606-
And STDOUT should contain:
606+
And STDERR should contain:
607607
"""
608608
Error: Failed deleting 1 comments.
609609
"""

0 commit comments

Comments
 (0)