1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00

Using OsAgnostic paths for episode/season integration tests

This commit is contained in:
Mark McDowall 2013-08-26 22:16:22 -07:00
parent 6bea671a1a
commit 0d4fc5513a
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@
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 @@ private SeriesResource GivenSeriesWithEpisodes()
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);

View file

@ -4,6 +4,7 @@
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 @@ private SeriesResource GivenSeriesWithEpisodes()
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);