Disable irrelevant test

This commit is contained in:
litetex 2025-02-09 20:37:50 +01:00
parent 271a4656da
commit d746d1b288
No known key found for this signature in database
GPG Key ID: 525B43E6039B3689

View File

@ -13,6 +13,7 @@ import static org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeS
import static java.util.Collections.singletonList;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.schabi.newpipe.downloader.DownloaderFactory;
import org.schabi.newpipe.extractor.InfoItem;
@ -380,6 +381,12 @@ public class YoutubeSearchExtractorTest {
final List<InfoItem> items = extractor.getInitialPage().getItems();
assertNotNull(((StreamInfoItem) items.get(0)).getShortDescription());
}
@Disabled("Irrelevant - sometimes suggestions show up, sometimes not")
@Override
public void testSearchSuggestion() throws Exception {
super.testSearchSuggestion();
}
}
public static class ShortFormContent extends DefaultSearchExtractorTest {