mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed broken test, drop folder prefix uses regex instead of prefix now.
This commit is contained in:
@@ -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>()))
|
||||
|
Reference in New Issue
Block a user