Using OsAgnostic paths for episode/season integration tests

pull/4/head
Mark McDowall 11 years ago
parent 6bea671a1a
commit 0d4fc5513a

@ -4,6 +4,7 @@ using FluentAssertions;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Api.Series; using NzbDrone.Api.Series;
using System.Linq; using System.Linq;
using NzbDrone.Test.Common;
namespace NzbDrone.Integration.Test namespace NzbDrone.Integration.Test
{ {
@ -15,7 +16,7 @@ namespace NzbDrone.Integration.Test
var series = Series.Lookup("archer").First(); var series = Series.Lookup("archer").First();
series.QualityProfileId = 1; series.QualityProfileId = 1;
series.Path = @"C:\Test\Archer"; series.Path = @"C:\Test\Archer".AsOsAgnostic();
series = Series.Post(series); series = Series.Post(series);

@ -4,6 +4,7 @@ using FluentAssertions;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Api.Series; using NzbDrone.Api.Series;
using System.Linq; using System.Linq;
using NzbDrone.Test.Common;
namespace NzbDrone.Integration.Test namespace NzbDrone.Integration.Test
{ {
@ -15,7 +16,7 @@ namespace NzbDrone.Integration.Test
var series = Series.Lookup("archer").First(); var series = Series.Lookup("archer").First();
series.QualityProfileId = 1; series.QualityProfileId = 1;
series.Path = @"C:\Test\Archer"; series.Path = @"C:\Test\Archer".AsOsAgnostic();
series = Series.Post(series); series = Series.Post(series);

Loading…
Cancel
Save