Skip to content

Commit 519bba7

Browse files
authored
Merge pull request #630 from XiangRongLin/fix_tests
Fix MetaInfoTest.expectedMetaInfo
2 parents f4cb32c + 18c8cac commit 519bba7

5 files changed

Lines changed: 342 additions & 335 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,8 @@ public void clarificationTest() throws Exception {
263263
@Override public List<MetaInfo> expectedMetaInfo() throws MalformedURLException {
264264
final List<URL> urls = new ArrayList<>();
265265
urls.add(new URL("https://www.who.int/emergencies/diseases/novel-coronavirus-2019"));
266-
urls.add(new URL("https://www.who.int/emergencies/diseases/novel-coronavirus-2019/covid-19-vaccines"));
267266
final List<String> urlTexts = new ArrayList<>();
268267
urlTexts.add("LEARN MORE");
269-
urlTexts.add("Learn about vaccine progress from the WHO");
270268
return Collections.singletonList(new MetaInfo(
271269
"COVID-19",
272270
new Description("Get the latest information from the WHO about coronavirus.", Description.PLAIN_TEXT),

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/search/metaInfo/generated_mock_0.json

Lines changed: 7 additions & 4 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/search/metaInfo/generated_mock_1.json

Lines changed: 7 additions & 4 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/search/metaInfo/generated_mock_2.json

Lines changed: 7 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)