Add a default test for the Uploader's Avatar.

This commit is contained in:
FireMasterK 2021-09-03 21:05:36 +05:30
parent db6b3b2c29
commit 1db463b55f
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ public final class DefaultTests {
assertExpectedLinkType(expectedService, uploaderUrl, LinkType.CHANNEL);
}
final String uploaderAvatarUrl = streamInfoItem.getUploaderAvatarUrl();
if (!isNullOrEmpty(uploaderAvatarUrl)) {
assertIsSecureUrl(uploaderAvatarUrl);
}
assertExpectedLinkType(expectedService, streamInfoItem.getUrl(), LinkType.STREAM);
if (!isNullOrEmpty(streamInfoItem.getTextualUploadDate())) {