mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-25 22:37:27 -04:00
Added: A Huge Cleanup of old Series Code. (Let's pray nothing breaks :P) (#2589)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using Moq;
|
||||
@@ -38,8 +38,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests
|
||||
_remoteMovie.Release.Title = _title;
|
||||
_remoteMovie.Release.DownloadUrl = _nzbUrl;
|
||||
|
||||
_remoteMovie.ParsedEpisodeInfo = new ParsedEpisodeInfo();
|
||||
_remoteMovie.ParsedEpisodeInfo.FullSeason = false;
|
||||
_remoteMovie.ParsedMovieInfo = new ParsedMovieInfo();
|
||||
|
||||
Subject.Definition = new DownloadClientDefinition();
|
||||
Subject.Definition.Settings = new PneumaticSettings
|
||||
@@ -70,15 +69,6 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests
|
||||
Assert.Throws<WebException>(() => Subject.Download(_remoteMovie));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_throw_if_full_season_download()
|
||||
{
|
||||
_remoteMovie.Release.Title = "30 Rock - Season 1";
|
||||
_remoteMovie.ParsedEpisodeInfo.FullSeason = true;
|
||||
|
||||
Assert.Throws<NotSupportedException>(() => Subject.Download(_remoteMovie));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_throw_item_is_removed()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user