|
|
|
@ -9,8 +9,8 @@ using NUnit.Framework;
|
|
|
|
|
using NzbDrone.Common.Http;
|
|
|
|
|
using NzbDrone.Core.Indexers;
|
|
|
|
|
using NzbDrone.Core.Indexers.Definitions;
|
|
|
|
|
using NzbDrone.Core.Indexers.Definitions.Gazelle;
|
|
|
|
|
using NzbDrone.Core.IndexerSearch.Definitions;
|
|
|
|
|
using NzbDrone.Core.Parser.Model;
|
|
|
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Test.IndexerTests.RedactedTests
|
|
|
|
@ -40,9 +40,9 @@ namespace NzbDrone.Core.Test.IndexerTests.RedactedTests
|
|
|
|
|
var releases = (await Subject.Fetch(new BasicSearchCriteria { Categories = new[] { 3000 } })).Releases;
|
|
|
|
|
|
|
|
|
|
releases.Should().HaveCount(39);
|
|
|
|
|
releases.First().Should().BeOfType<GazelleInfo>();
|
|
|
|
|
releases.First().Should().BeOfType<TorrentInfo>();
|
|
|
|
|
|
|
|
|
|
var torrentInfo = releases.First() as GazelleInfo;
|
|
|
|
|
var torrentInfo = releases.First() as TorrentInfo;
|
|
|
|
|
|
|
|
|
|
torrentInfo.Title.Should().Be("Red Hot Chili Peppers - Californication [1999] [Album] [US / Reissue 2020] [FLAC 24bit Lossless] [Vinyl]");
|
|
|
|
|
torrentInfo.DownloadProtocol.Should().Be(DownloadProtocol.Torrent);
|
|
|
|
|