OS Agnostic Paths

pull/4/head
Mark McDowall 10 years ago
parent 4c1e211675
commit 92cff8c4cc

@ -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>()

Loading…
Cancel
Save