From 24cb684e235314bdf2bb45be7d8e07f01bae6fd2 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sat, 6 Oct 2018 17:11:12 +0200 Subject: [PATCH] fix failing test --- .../youtube/search/YoutubeSearchExtractorDefaultTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeSearchExtractorDefaultTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeSearchExtractorDefaultTest.java index 6b0d09c7e..3df6434ee 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeSearchExtractorDefaultTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/search/YoutubeSearchExtractorDefaultTest.java @@ -58,7 +58,7 @@ public class YoutubeSearchExtractorDefaultTest extends YoutubeSearchExtractorBas @Test public void testResultList_FirstElement() { - InfoItem firstInfoItem = itemsPage.getItems().get(0); + InfoItem firstInfoItem = itemsPage.getItems().get(1); // THe channel should be the first item assertTrue(firstInfoItem instanceof ChannelInfoItem);