1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-28 10:48:46 +00:00

OS Agnostic Paths

This commit is contained in:
Mark McDowall 2015-06-13 00:53:34 -07:00
parent 4c1e211675
commit 92cff8c4cc

View file

@ -9,6 +9,7 @@ using NzbDrone.Common.Disk;
using NzbDrone.Core.MediaFiles; using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Tv; using NzbDrone.Core.Tv;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test.MediaFiles namespace NzbDrone.Core.Test.MediaFiles
{ {
@ -26,7 +27,7 @@ namespace NzbDrone.Core.Test.MediaFiles
.ToList(); .ToList();
_series = Builder<Series>.CreateNew() _series = Builder<Series>.CreateNew()
.With(s => s.Path = @"C:\Test\TV\Series") .With(s => s.Path = @"C:\Test\TV\Series".AsOsAgnostic())
.Build(); .Build();
Mocker.GetMock<IDiskProvider>() Mocker.GetMock<IDiskProvider>()