Skip to content

Commit bb1ab16

Browse files
committed
[YouTube] Test that no banner is returned for carouselHeaderRenders
1 parent f1fa84b commit bb1ab16

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertFalse;
5+
import static org.junit.jupiter.api.Assertions.assertNull;
56
import static org.junit.jupiter.api.Assertions.assertThrows;
67
import static org.junit.jupiter.api.Assertions.assertTrue;
78
import static org.junit.jupiter.api.Assertions.fail;
@@ -720,7 +721,8 @@ public void testAvatarUrl() throws Exception {
720721

721722
@Test
722723
public void testBannerUrl() throws Exception {
723-
// CarouselHeaderRender does not contain a banner
724+
// CarouselHeaderRenders do not contain a banner
725+
assertNull(extractor.getBannerUrl());
724726
}
725727

726728
@Test

0 commit comments

Comments
 (0)