Skip to content

Commit 25e4a6f

Browse files
committed
YT: Suggestion test is working again
1 parent ee6bc84 commit 25e4a6f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeMusicSearchExtractorTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,9 @@ public static void setUp() throws Exception {
130130
@Override public InfoItem.InfoType expectedInfoItemType() { return InfoItem.InfoType.CHANNEL; }
131131
}
132132

133-
@Disabled("Currently constantly switching between \"Did you mean\" and \"Showing results for ...\" occurs")
134133
public static class Suggestion extends DefaultSearchExtractorTest {
135134
private static SearchExtractor extractor;
136135
private static final String QUERY = "megaman x3";
137-
private static final boolean CORRECTED = true;
138136

139137
@BeforeAll
140138
public static void setUp() throws Exception {
@@ -152,7 +150,6 @@ public static void setUp() throws Exception {
152150
@Override public String expectedSearchString() { return QUERY; }
153151
@Nullable @Override public String expectedSearchSuggestion() { return "mega man x3"; }
154152
@Override public InfoItem.InfoType expectedInfoItemType() { return InfoItem.InfoType.STREAM; }
155-
@Override public boolean isCorrectedSearch() { return CORRECTED; }
156153
}
157154

158155
public static class CorrectedSearch extends DefaultSearchExtractorTest {

0 commit comments

Comments
 (0)