Merge pull request #717 from XiangRongLin/fix_tests

Fix failing PeertubeStreamExtractorTest
This commit is contained in:
Tobi 2021-08-17 17:48:28 +02:00 committed by GitHub
commit 89bab241b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,8 +60,8 @@ public abstract class PeertubeStreamExtractorTest extends DefaultStreamExtractor
@Override public StreamType expectedStreamType() { return StreamType.VIDEO_STREAM; }
@Override public String expectedUploaderName() { return "Framasoft"; }
@Override public String expectedUploaderUrl() { return "https://framatube.org/accounts/framasoft@framatube.org"; }
@Override public String expectedSubChannelName() { return "Les vidéos de Framasoft"; }
@Override public String expectedSubChannelUrl() { return "https://framatube.org/video-channels/bf54d359-cfad-4935-9d45-9d6be93f63e8"; }
@Override public String expectedSubChannelName() { return "A propos de PeerTube"; }
@Override public String expectedSubChannelUrl() { return "https://framatube.org/video-channels/joinpeertube"; }
@Override public List<String> expectedDescriptionContains() { // CRLF line ending
return Arrays.asList("**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\r\n"
+ "\r\n"