mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed broken test, drop folder prefix uses regex instead of prefix now.
This commit is contained in:
parent
1b2af8ea1b
commit
35e44284c0
8 changed files with 35 additions and 97 deletions
|
@ -15,7 +15,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
public class DiskScanProviderTest : TestBase
|
||||
{
|
||||
[Test]
|
||||
public void scan_series_should_update_last_scan_date()
|
||||
public void scan_series_should_update_the_last_scan_date()
|
||||
{
|
||||
|
||||
var mocker = new AutoMoqer();
|
||||
|
@ -26,6 +26,8 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
.Setup(c => c.GetEpisodeBySeries(It.IsAny<long>()))
|
||||
.Returns(new List<Episode> { new Episode() });
|
||||
|
||||
mocker.GetMock<DiskProvider>().Setup(c => c.FolderExists(It.IsAny<string>())).Returns(true);
|
||||
|
||||
|
||||
mocker.GetMock<MediaFileProvider>()
|
||||
.Setup(c => c.GetSeriesFiles(It.IsAny<int>()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue