mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
fixed more tests.
This commit is contained in:
parent
48880e4964
commit
048162a0ef
45 changed files with 424 additions and 677 deletions
|
@ -55,10 +55,10 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
|||
.Setup(e => e.BuildFilePath(It.IsAny<Series>(), fakeEpisode.First().SeasonNumber, filename, ".avi"))
|
||||
.Returns(fi);
|
||||
|
||||
|
||||
|
||||
var result = Subject.MoveEpisodeFile(file, false);
|
||||
|
||||
|
||||
|
||||
result.Should().BeNull();
|
||||
}
|
||||
|
||||
|
@ -85,8 +85,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
|||
var file = Builder<EpisodeFile>.CreateNew()
|
||||
.With(f => f.SeriesId = fakeSeries.Id)
|
||||
.With(f => f.Path = currentFilename)
|
||||
.With(f => f.Quality = Quality.WEBDL720p)
|
||||
.With(f => f.Proper = false)
|
||||
.With(f => f.Quality = new QualityModel(Quality.WEBDL720p))
|
||||
.Build();
|
||||
|
||||
Mocker.GetMock<ISeriesRepository>()
|
||||
|
@ -137,8 +136,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
|||
var file = Builder<EpisodeFile>.CreateNew()
|
||||
.With(f => f.SeriesId = fakeSeries.Id)
|
||||
.With(f => f.Path = currentFilename)
|
||||
.With(f => f.Quality = Quality.WEBDL720p)
|
||||
.With(f => f.Proper = false)
|
||||
.With(f => f.Quality = new QualityModel(Quality.WEBDL720p))
|
||||
.Build();
|
||||
|
||||
Mocker.GetMock<ISeriesRepository>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue