mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: fixed an issue where season ignore check wasn't working correctly.
Fixed: unavailable nzbdrone service will no longer block series from being added.
This commit is contained in:
parent
ada0a3bfbc
commit
c5df00cc87
15 changed files with 222 additions and 360 deletions
|
@ -817,5 +817,19 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
result.Last().Monitored.Should().Be(monitored);
|
||||
result.Last().SeasonFolder.Should().Be(seasonFolder);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void delete_series_should_delete_all_rows_related_to_the_series()
|
||||
{
|
||||
var fakeSeries = Builder<Series>.CreateListOfSize(3).Build();
|
||||
var fakeEpisodes = Builder<Episode>.CreateListOfSize(30)
|
||||
.TheFirst(10).With(c=>c.SeriesId = fakeSeries[0].SeriesId)
|
||||
.TheNext(10).With(c=>c.SeriesId = fakeSeries[1].SeriesId)
|
||||
.TheNext(10).With(c => c.SeriesId = fakeSeries[2].SeriesId)
|
||||
.Build();
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
} |