mirror of
https://github.com/Radarr/Radarr
synced 2025-02-04 05:43:27 +00:00
Fixed broken test.
This commit is contained in:
parent
6574a2b065
commit
bdadb66fcb
1 changed files with 3 additions and 0 deletions
|
@ -116,6 +116,9 @@ public void cleanup_should_delete_none_existing_files_remove_links_to_episodes()
|
||||||
Mocker.GetMock<MediaFileProvider>()
|
Mocker.GetMock<MediaFileProvider>()
|
||||||
.Setup(e => e.Delete(It.IsAny<int>()));
|
.Setup(e => e.Delete(It.IsAny<int>()));
|
||||||
|
|
||||||
|
Mocker.GetMock<ConfigProvider>()
|
||||||
|
.SetupGet(s => s.AutoIgnorePreviouslyDownloadedEpisodes)
|
||||||
|
.Returns(true);
|
||||||
|
|
||||||
//Act
|
//Act
|
||||||
Mocker.Resolve<DiskScanProvider>().CleanUp(episodes);
|
Mocker.Resolve<DiskScanProvider>().CleanUp(episodes);
|
||||||
|
|
Loading…
Reference in a new issue