1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

Fixed tests.

This commit is contained in:
Taloth Saldono 2015-05-25 14:31:53 +02:00
parent b540307dbd
commit 6b9c686390

View file

@ -53,8 +53,9 @@ public void Setup()
.Setup(s => s.BuildSeasonPath(It.IsAny<Series>(), It.IsAny<int>())) .Setup(s => s.BuildSeasonPath(It.IsAny<Series>(), It.IsAny<int>()))
.Returns(@"C:\Test\TV\Series\Season 01".AsOsAgnostic()); .Returns(@"C:\Test\TV\Series\Season 01".AsOsAgnostic());
var rootFolder = @"C:\Test\TV".AsOsAgnostic();
Mocker.GetMock<IDiskProvider>() Mocker.GetMock<IDiskProvider>()
.Setup(s => s.FolderExists(@"C:\Test\TV")) .Setup(s => s.FolderExists(rootFolder))
.Returns(true); .Returns(true);
Mocker.GetMock<IDiskProvider>() Mocker.GetMock<IDiskProvider>()