diff --git a/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs b/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs index 9328a626f..d30e91f8d 100644 --- a/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/SeasonSearchJobTest.cs @@ -90,9 +90,6 @@ namespace NzbDrone.Core.Test.JobTests .Setup(c => c.PartialSeasonSearch(notification, 1, 1)) .Returns(new List{1}); - Mocker.GetMock() - .Setup(c => c.Start(notification, It.IsAny(), 0)).Verifiable(); - //Act Mocker.Resolve().Start(notification, 1, 1); @@ -100,7 +97,6 @@ namespace NzbDrone.Core.Test.JobTests Mocker.VerifyAllMocks(); Mocker.GetMock().Verify(c => c.SeasonSearch(notification, 1, 1), Times.Once()); Mocker.GetMock().Verify(c => c.PartialSeasonSearch(notification, 1, 1), Times.Once()); - Mocker.GetMock().Verify(c => c.Start(notification, It.IsAny(), 0), Times.Exactly(4)); } [Test] @@ -128,8 +124,6 @@ namespace NzbDrone.Core.Test.JobTests .Setup(c => c.PartialSeasonSearch(notification, 1, 1)) .Returns(new List()); - Mocker.GetMock() - .Setup(c => c.Start(notification, It.IsAny(), 0)).Verifiable(); //Act Mocker.Resolve().Start(notification, 1, 1); @@ -138,7 +132,6 @@ namespace NzbDrone.Core.Test.JobTests Mocker.VerifyAllMocks(); Mocker.GetMock().Verify(c => c.SeasonSearch(notification, 1, 1), Times.Once()); Mocker.GetMock().Verify(c => c.PartialSeasonSearch(notification, 1, 1), Times.Once()); - Mocker.GetMock().Verify(c => c.Start(notification, It.IsAny(), 0), Times.Exactly(3)); } } } \ No newline at end of file diff --git a/NzbDrone.Services/NzbDrone.Services.Service/Services.PetaPoco.cs b/NzbDrone.Services/NzbDrone.Services.Service/Services.PetaPoco.cs index 1fdd1a340..564a3b7e6 100644 --- a/NzbDrone.Services/NzbDrone.Services.Service/Services.PetaPoco.cs +++ b/NzbDrone.Services/NzbDrone.Services.Service/Services.PetaPoco.cs @@ -24,7 +24,9 @@ using System.Reflection.Emit; using System.Linq.Expressions; using System.Threading; +// ReSharper disable CheckNamespace namespace Services.PetaPoco + { // Poco's marked [Explicit] require all column properties to be marked [AttributeUsage(AttributeTargets.Class)]