Skip to content

Commit 698c710

Browse files
committed
Do not require knowledge of uploader in default StreamInfoItems tests
This change is required as some services can return no uploader info, such as YouTube for playlists with a Shorts UI.
1 parent 8237052 commit 698c710

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/DefaultTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public static void defaultTestListOfItems(StreamingService expectedService, List
3838

3939
if (item instanceof StreamInfoItem) {
4040
StreamInfoItem streamInfoItem = (StreamInfoItem) item;
41-
assertNotEmpty("Uploader name not set: " + item, streamInfoItem.getUploaderName());
42-
43-
// assertNotEmpty("Uploader url not set: " + item, streamInfoItem.getUploaderUrl());
4441
final String uploaderUrl = streamInfoItem.getUploaderUrl();
4542
if (!isNullOrEmpty(uploaderUrl)) {
4643
assertIsSecureUrl(uploaderUrl);

0 commit comments

Comments
 (0)