diff --git a/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs b/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs index 6daf65bb4..fcf7d39e2 100644 --- a/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/RefreshSeriesServiceFixture.cs @@ -119,7 +119,7 @@ namespace NzbDrone.Core.Test.TvTests Subject.Execute(new RefreshSeriesCommand(_series.Id)); Mocker.GetMock() - .Verify(v => v.UpdateSeries(It.IsAny(), It.IsAny()), Times.Never()); + .Verify(v => v.UpdateSeries(It.Is(s => s.Status == SeriesStatusType.Deleted), It.IsAny()), Times.Once()); ExceptionVerification.ExpectedErrors(1); } diff --git a/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs b/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs index cbbaf0146..503351a0a 100644 --- a/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs +++ b/src/NzbDrone.Core.Test/TvTests/ShouldRefreshSeriesFixture.cs @@ -17,7 +17,7 @@ namespace NzbDrone.Core.Test.TvTests public void Setup() { _series = Builder.CreateNew() - .With(v => v.Status == SeriesStatusType.Continuing) + .With(v => v.Status = SeriesStatusType.Continuing) .Build(); Mocker.GetMock()