[PeerTube] Fix tests for "What is PeerTube?" video
This commit is contained in:
parent
896a55e319
commit
73f0c63a9d
|
@ -48,7 +48,7 @@ public class PeertubeCommentsExtractorTest {
|
|||
|
||||
@Test
|
||||
void testGetCommentsFromCommentsInfo() throws IOException, ExtractionException {
|
||||
final String comment = "Thanks for creating such an informative video";
|
||||
final String comment = "Thanks for this nice video explanation of Peertube!";
|
||||
|
||||
final CommentsInfo commentsInfo =
|
||||
CommentsInfo.getInfo("https://framatube.org/w/kkGMgK9ZtnKfYAgnEtQxbv");
|
||||
|
|
|
@ -86,7 +86,7 @@ public abstract class PeertubeStreamExtractorTest extends DefaultStreamExtractor
|
|||
@Override public long expectedViewCountAtLeast() { return 38600; }
|
||||
@Nullable @Override public String expectedUploadDate() { return "2018-10-01 10:52:46.396"; }
|
||||
@Nullable @Override public String expectedTextualUploadDate() { return "2018-10-01T10:52:46.396Z"; }
|
||||
@Override public long expectedLikeCountAtLeast() { return 50; }
|
||||
@Override public long expectedLikeCountAtLeast() { return 20; }
|
||||
@Override public long expectedDislikeCountAtLeast() { return 0; }
|
||||
@Override public String expectedHost() { return "framatube.org"; }
|
||||
@Override public String expectedCategory() { return "Science & Technology"; }
|
||||
|
|
Loading…
Reference in New Issue