From f352b0c7af65fc8a4eea3c349a3c2fe51b9a9a9e Mon Sep 17 00:00:00 2001 From: XiangRongLin <41164160+XiangRongLin@users.noreply.github.com> Date: Sun, 17 Jan 2021 19:03:13 +0100 Subject: [PATCH] YoutubeMusicSearchExtractorTest can't be used with mocks Requires further research --- .../services/youtube/search/YoutubeMusicSearchExtractorTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeMusicSearchExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeMusicSearchExtractorTest.java index a3ffa81f8..785250e74 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeMusicSearchExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeMusicSearchExtractorTest.java @@ -17,6 +17,7 @@ import javax.annotation.Nullable; import static java.util.Collections.singletonList; import static org.schabi.newpipe.extractor.ServiceList.YouTube; +// Doesn't work with mocks. Makes request with different `dataToSend` i think public class YoutubeMusicSearchExtractorTest { public static class MusicSongs extends DefaultSearchExtractorTest { private static SearchExtractor extractor;