File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ public void testGetCommentsFirst() throws IOException, ExtractionException {
308308 }
309309
310310 public static class RepliesTest {
311- private final static String url = "https://www.youtube.com/watch?v=--yeOvJGZQk " ;
311+ private final static String url = "https://www.youtube.com/watch?v=xaQJbozY_Is " ;
312312 private static YoutubeCommentsExtractor extractor ;
313313
314314 @ BeforeClass
@@ -329,9 +329,11 @@ public void testGetCommentsFirstReplies() throws IOException, ExtractionExceptio
329329
330330 CommentsInfoItem firstComment = comments .getItems ().get (0 );
331331
332+ assertTrue ("First comment isn't pinned" , firstComment .isPinned ());
333+
332334 InfoItemsPage <CommentsInfoItem > replies = extractor .getPage (firstComment .getReplies ());
333335
334- assertEquals ("First reply comment did not match" , "Lol " , replies .getItems ().get (0 ).getCommentText ());
336+ assertEquals ("First reply comment did not match" , "First " , replies .getItems ().get (0 ).getCommentText ());
335337 }
336338 }
337339}
You can’t perform that action at this time.
0 commit comments