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.
pull/1093/head
AudricV 2023-08-07 19:17:08 +02:00
rodzic 8237052ef5
commit 698c710685
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DA92EC7905614198
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

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