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:
parent
8237052ef5
commit
698c710685
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue