core: remove rss feed image (legacy code) #324 (#10837)

This commit is contained in:
Diego Heras
2021-01-17 13:42:52 +01:00
committed by GitHub
parent ee279dffac
commit 456338399b
4 changed files with 3 additions and 19 deletions

View File

@@ -48,9 +48,7 @@ namespace Jackett.Test.Common.Models
var resultPage = new ResultPage(
new ChannelInfo // characters in channel info are safe because are provided by us
{
Link = link,
ImageUrl = link,
ImageLink = link
Link = link
})
{
Releases = new List<ReleaseInfo>
@@ -75,7 +73,7 @@ namespace Jackett.Test.Common.Models
var xml = resultPage.ToXml(link);
Assert.AreEqual(5, Regex.Matches(xml, validText).Count);
Assert.AreEqual(10, Regex.Matches(xml, validLink).Count);
Assert.AreEqual(8, Regex.Matches(xml, validLink).Count);
// this should be in another test but it's here to avoid creating the whole object again
Assert.True(xml.Contains("Tue, 22 Sep 2020 00:00:00 "));