Skip to content

Commit e380ef2

Browse files
committed
Add behat test for invalid id for comment recount
1 parent 9be7d88 commit e380ef2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/comment-recount.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ Feature: Recount comments on a post
2323
"""
2424
Updated post 1 comment count to 3.
2525
"""
26+
27+
When I run `wp comment recount 99999999`
28+
Then STDOUT should be:
29+
"""
30+
Warning: Post 99999999 doesn't exist.
31+
"""

0 commit comments

Comments
 (0)