Skip to content

Commit

Permalink
Add behat test for invalid id for comment recount
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Feb 14, 2024
1 parent 9be7d88 commit e380ef2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/comment-recount.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ Feature: Recount comments on a post
"""
Updated post 1 comment count to 3.
"""

When I run `wp comment recount 99999999`
Then STDOUT should be:
"""
Warning: Post 99999999 doesn't exist.
"""

0 comments on commit e380ef2

Please sign in to comment.