From bcb13f93ff2b58d3a319e0b5b4af228b63f3e38f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 9 Aug 2013 22:10:09 -0700 Subject: [PATCH] Fixed broken tests --- NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs | 2 +- NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs b/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs index 4683d8221..bbf0c5b9c 100644 --- a/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs +++ b/NzbDrone.Core.Test/UpdateTests/UpdatePackageProviderFixture.cs @@ -22,7 +22,7 @@ namespace NzbDrone.Core.Test.UpdateTests updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.FileName)); updates.Should().OnlyContain(c => !string.IsNullOrWhiteSpace(c.Url)); updates.Should().OnlyContain(c => c.Version != null); - updates.Should().OnlyContain(c => c.Version.Minor != 0); + updates.Should().OnlyContain(c => c.Version.Major == 2); } } } diff --git a/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs b/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs index 93330b543..aa9eae903 100644 --- a/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs +++ b/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs @@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.UpdateTests private readonly UpdatePackage _updatePackage = new UpdatePackage { FileName = "NzbDrone.vnext.0.8.1.385.zip", - Url = "http://update.nzbdrone.com/vnext/NzbDrone.vnext.0.8.1.385.zip", + Url = "http://update.nzbdrone.com/v10/master/NzbDrone.master.2.0.0.0.zip", Version = new Version("0.8.1.385") };