From a413a9d53dc736fff72f591fd8ed92c979bd490b Mon Sep 17 00:00:00 2001 From: markus101 Date: Wed, 16 Feb 2011 18:15:48 -0800 Subject: [PATCH] Fixed unit tests. --- NzbDrone.Core.Test/HistoryProviderTest.cs | 10 +++++----- NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/NzbDrone.Core.Test/HistoryProviderTest.cs b/NzbDrone.Core.Test/HistoryProviderTest.cs index 1be65c50c..3913da98c 100644 --- a/NzbDrone.Core.Test/HistoryProviderTest.cs +++ b/NzbDrone.Core.Test/HistoryProviderTest.cs @@ -20,18 +20,18 @@ namespace NzbDrone.Core.Test public void AllItems() { //Setup - var indexer = new Indexer {Enabled = true, IndexerName = "NzbMatrix", Order = 1, RssUrl = "http://www.nzbmatrix.com"}; + var indexer = new Indexer { Enabled = true, IndexerName = "NzbMatrix", Order = 1, RssUrl = "http://www.nzbmatrix.com" }; var series = new Series { SeriesId = 5656, CleanTitle = "rock", Monitored = true, Overview = "Series Overview", - Quality = 1, + ProfileId = 1, Title = "30 Rock", Path = @"C:\Test\TV\30 Rock" }; - var season = new Season{SeasonId = 4321, SeasonNumber = 1, SeriesId = 5656, Monitored = true}; + var season = new Season { SeasonId = 4321, SeasonNumber = 1, SeriesId = 5656, Monitored = true }; var episode = new Episode { AirDate = DateTime.Today.AddDays(-1), @@ -81,7 +81,7 @@ namespace NzbDrone.Core.Test CleanTitle = "rock", Monitored = true, Overview = "Series Overview", - Quality = 1, + ProfileId = 1, Title = "30 Rock", Path = @"C:\Test\TV\30 Rock" }; @@ -138,7 +138,7 @@ namespace NzbDrone.Core.Test CleanTitle = "rock", Monitored = true, Overview = "Series Overview", - Quality = 1, + ProfileId = 1, Title = "30 Rock", Path = @"C:\Test\TV\30 Rock" }; diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 8f6aa0b11..39f3fe0a2 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -104,13 +104,13 @@ - PreserveNewest + Always - PreserveNewest + Always - PreserveNewest + Always