mirror of https://github.com/Sonarr/Sonarr
Fixed broken file mover test
This commit is contained in:
parent
5644ca0e05
commit
fa6888e964
|
@ -55,6 +55,10 @@ namespace NzbDrone.Core.Test.MediaFileTests
|
||||||
.Setup(e => e.BuildFilePath(It.IsAny<Series>(), fakeEpisode.First().SeasonNumber, filename, ".avi"))
|
.Setup(e => e.BuildFilePath(It.IsAny<Series>(), fakeEpisode.First().SeasonNumber, filename, ".avi"))
|
||||||
.Returns(fi);
|
.Returns(fi);
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>()
|
||||||
|
.Setup(s => s.FileExists(fi))
|
||||||
|
.Returns(true);
|
||||||
|
|
||||||
var result = Subject.MoveEpisodeFile(file);
|
var result = Subject.MoveEpisodeFile(file);
|
||||||
|
|
||||||
result.Should().BeNull();
|
result.Should().BeNull();
|
||||||
|
|
Loading…
Reference in New Issue