@@ -28,34 +28,34 @@ public static class Default {
2828 public static void setUp () throws Exception {
2929 NewPipe .init (DownloaderTestImpl .getInstance ());
3030 extractor = (PeertubeCommentsExtractor ) PeerTube
31- .getCommentsExtractor ("https://framatube.org/videos/watch/04af977f-4201-4697-be67-a8d8cae6fa7a " );
31+ .getCommentsExtractor ("https://framatube.org/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d " );
3232 }
3333
3434 @ Test
3535 public void testGetComments () throws IOException , ExtractionException {
3636 InfoItemsPage <CommentsInfoItem > comments = extractor .getInitialPage ();
37- boolean result = findInComments (comments , "@root A great documentary on a great guy ." );
37+ boolean result = findInComments (comments , "Cool ." );
3838
3939 while (comments .hasNextPage () && !result ) {
4040 comments = extractor .getPage (comments .getNextPage ());
41- result = findInComments (comments , "@root A great documentary on a great guy ." );
41+ result = findInComments (comments , "Cool ." );
4242 }
4343
4444 assertTrue (result );
4545 }
4646
4747 @ Test
4848 public void testGetCommentsFromCommentsInfo () throws IOException , ExtractionException {
49- CommentsInfo commentsInfo = CommentsInfo .getInfo ("https://framatube.org/videos/watch/a8ea95b8-0396-49a6-8f30-e25e25fb2828 " );
49+ CommentsInfo commentsInfo = CommentsInfo .getInfo ("https://framatube.org/videos/watch/217eefeb-883d-45be-b7fc-a788ad8507d3 " );
5050 assertEquals ("Comments" , commentsInfo .getName ());
5151
52- boolean result = findInComments (commentsInfo .getRelatedItems (), "Loved it!!! " );
52+ boolean result = findInComments (commentsInfo .getRelatedItems (), "Cool " );
5353
5454 Page nextPage = commentsInfo .getNextPage ();
5555 InfoItemsPage <CommentsInfoItem > moreItems = new InfoItemsPage <>(null , nextPage , null );
5656 while (moreItems .hasNextPage () && !result ) {
5757 moreItems = CommentsInfo .getMoreItems (PeerTube , commentsInfo , nextPage );
58- result = findInComments (moreItems .getItems (), "Loved it!!! " );
58+ result = findInComments (moreItems .getItems (), "Cool " );
5959 nextPage = moreItems .getNextPage ();
6060 }
6161
0 commit comments