Skip to content

Commit 73f0c63

Browse files
committed
[PeerTube] Fix tests for "What is PeerTube?" video
1 parent 896a55e commit 73f0c63

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeCommentsExtractorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void testGetComments() throws IOException, ExtractionException {
4848

4949
@Test
5050
void testGetCommentsFromCommentsInfo() throws IOException, ExtractionException {
51-
final String comment = "Thanks for creating such an informative video";
51+
final String comment = "Thanks for this nice video explanation of Peertube!";
5252

5353
final CommentsInfo commentsInfo =
5454
CommentsInfo.getInfo("https://framatube.org/w/kkGMgK9ZtnKfYAgnEtQxbv");

extractor/src/test/java/org/schabi/newpipe/extractor/services/peertube/PeertubeStreamExtractorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void testGetLanguageInformation() throws ParsingException {
8686
@Override public long expectedViewCountAtLeast() { return 38600; }
8787
@Nullable @Override public String expectedUploadDate() { return "2018-10-01 10:52:46.396"; }
8888
@Nullable @Override public String expectedTextualUploadDate() { return "2018-10-01T10:52:46.396Z"; }
89-
@Override public long expectedLikeCountAtLeast() { return 50; }
89+
@Override public long expectedLikeCountAtLeast() { return 20; }
9090
@Override public long expectedDislikeCountAtLeast() { return 0; }
9191
@Override public String expectedHost() { return "framatube.org"; }
9292
@Override public String expectedCategory() { return "Science & Technology"; }

0 commit comments

Comments
 (0)