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.
This commit is contained in:
AudricV 2023-08-07 19:17:08 +02:00
parent 8237052ef5
commit 698c710685
No known key found for this signature in database
GPG Key ID: DA92EC7905614198
1 changed files with 0 additions and 3 deletions

View File

@ -38,9 +38,6 @@ public final class DefaultTests {
if (item instanceof StreamInfoItem) {
StreamInfoItem streamInfoItem = (StreamInfoItem) item;
assertNotEmpty("Uploader name not set: " + item, streamInfoItem.getUploaderName());
// assertNotEmpty("Uploader url not set: " + item, streamInfoItem.getUploaderUrl());
final String uploaderUrl = streamInfoItem.getUploaderUrl();
if (!isNullOrEmpty(uploaderUrl)) {
assertIsSecureUrl(uploaderUrl);