[PeerTube] Fix failing PeertubeTrendingLinkHandlerFactoryTest

The factory was updated in #1144
This commit is contained in:
TobiGr 2023-12-29 11:52:19 +01:00
parent 1553931027
commit 8f9ebdcb77
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class PeertubeTrendingLinkHandlerFactoryTest {
assertEquals(LinkHandlerFactory.fromId("Trending").getUrl(), "https://peertube.mastodon.host/api/v1/videos?sort=-trending");
assertEquals(LinkHandlerFactory.fromId("Most liked").getUrl(), "https://peertube.mastodon.host/api/v1/videos?sort=-likes");
assertEquals(LinkHandlerFactory.fromId("Recently added").getUrl(), "https://peertube.mastodon.host/api/v1/videos?sort=-publishedAt");
assertEquals(LinkHandlerFactory.fromId("Local").getUrl(), "https://peertube.mastodon.host/api/v1/videos?sort=-publishedAt&filter=local");
assertEquals(LinkHandlerFactory.fromId("Local").getUrl(), "https://peertube.mastodon.host/api/v1/videos?sort=-publishedAt&isLocal=true");
}
@Test