Fix peertube tests

This commit is contained in:
Stypox 2023-12-30 08:53:11 +01:00
parent e06fac6ef3
commit c6b335c20f
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
2 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ class PeertubeAccountTabExtractorTest {
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
@Override public StreamingService expectedService() throws Exception { return PeerTube; }
@Override public String expectedName() throws Exception { return ChannelTabs.VIDEOS; }
@Override public String expectedName() throws Exception { return ChannelTabs.VIDEOS.getNameId().name(); }
@Override public String expectedId() throws Exception { return "accounts/framasoft"; }
@Override public String expectedUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/videos"; }
@Override public String expectedOriginalUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/videos"; }
@ -58,7 +58,7 @@ class PeertubeAccountTabExtractorTest {
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
@Override public StreamingService expectedService() throws Exception { return PeerTube; }
@Override public String expectedName() throws Exception { return ChannelTabs.CHANNELS; }
@Override public String expectedName() throws Exception { return ChannelTabs.CHANNELS.getNameId().name(); }
@Override public String expectedId() throws Exception { return "accounts/framasoft"; }
@Override public String expectedUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/video-channels"; }
@Override public String expectedOriginalUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/video-channels"; }

View File

@ -34,7 +34,7 @@ class PeertubeChannelTabExtractorTest {
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
@Override public StreamingService expectedService() throws Exception { return PeerTube; }
@Override public String expectedName() throws Exception { return ChannelTabs.VIDEOS; }
@Override public String expectedName() throws Exception { return ChannelTabs.VIDEOS.getNameId().name(); }
@Override public String expectedId() throws Exception { return "video-channels/lqdn_channel@video.lqdn.fr"; }
@Override public String expectedUrlContains() throws Exception { return "https://framatube.org/video-channels/lqdn_channel@video.lqdn.fr/videos"; }
@Override public String expectedOriginalUrlContains() throws Exception { return "https://framatube.org/video-channels/lqdn_channel@video.lqdn.fr/videos"; }
@ -64,7 +64,7 @@ class PeertubeChannelTabExtractorTest {
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
@Override public StreamingService expectedService() throws Exception { return PeerTube; }
@Override public String expectedName() throws Exception { return ChannelTabs.PLAYLISTS; }
@Override public String expectedName() throws Exception { return ChannelTabs.PLAYLISTS.getNameId().name(); }
@Override public String expectedId() throws Exception { return "video-channels/lqdn_channel@video.lqdn.fr"; }
@Override public String expectedUrlContains() throws Exception { return "https://framatube.org/video-channels/lqdn_channel@video.lqdn.fr/video-playlists"; }
@Override public String expectedOriginalUrlContains() throws Exception { return "https://framatube.org/video-channels/lqdn_channel@video.lqdn.fr/video-playlists"; }
@ -86,7 +86,7 @@ class PeertubeChannelTabExtractorTest {
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
@Override public StreamingService expectedService() throws Exception { return PeerTube; }
@Override public String expectedName() throws Exception { return ChannelTabs.CHANNELS; }
@Override public String expectedName() throws Exception { return ChannelTabs.CHANNELS.getNameId().name(); }
@Override public String expectedId() throws Exception { return "accounts/framasoft"; }
@Override public String expectedUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/video-channels"; }
@Override public String expectedOriginalUrlContains() throws Exception { return "https://framatube.org/accounts/framasoft/video-channels"; }