mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fixed broken file mover test
This commit is contained in:
parent
5644ca0e05
commit
fa6888e964
@ -55,6 +55,10 @@ public void should_not_move_file_if_source_and_destination_are_the_same_path()
|
||||
.Setup(e => e.BuildFilePath(It.IsAny<Series>(), fakeEpisode.First().SeasonNumber, filename, ".avi"))
|
||||
.Returns(fi);
|
||||
|
||||
Mocker.GetMock<IDiskProvider>()
|
||||
.Setup(s => s.FileExists(fi))
|
||||
.Returns(true);
|
||||
|
||||
var result = Subject.MoveEpisodeFile(file);
|
||||
|
||||
result.Should().BeNull();
|
||||
|
Loading…
Reference in New Issue
Block a user