fix failing test

This commit is contained in:
Christian Schabesberger 2018-10-06 17:11:12 +02:00
parent 0920680708
commit 24cb684e23

View File

@ -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);