Skip to content

Commit 24cb684

Browse files
committed
fix failing test
1 parent 0920680 commit 24cb684

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void testGetSecondPageUrl() throws Exception {
5858

5959
@Test
6060
public void testResultList_FirstElement() {
61-
InfoItem firstInfoItem = itemsPage.getItems().get(0);
61+
InfoItem firstInfoItem = itemsPage.getItems().get(1);
6262

6363
// THe channel should be the first item
6464
assertTrue(firstInfoItem instanceof ChannelInfoItem);

0 commit comments

Comments
 (0)