Update replyCount test for Youtube

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
xz-dev 2022-09-27 03:20:00 +08:00 committed by GitHub
parent 22237fa1b6
commit 659d6aef4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,8 @@ public class YoutubeCommentsExtractorTest {
CommentsInfoItem firstComment = comments.getItems().get(0);
assertNotEquals(-1, firstComment.getReplyCount(), "First reply comment can't get count");
assertNotEquals(0, firstComment.getReplyCount(), "First reply comment count is zero");
assertGreater(300, firstComment.getReplyCount(), "First reply comment count is smaller than the expected 300 comments");
}
}
}