1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02: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 NzbDrone.Api.Series;
using System.Linq;
using NzbDrone.Test.Common;
namespace NzbDrone.Integration.Test
{
@ -15,7 +16,7 @@ private SeriesResource GivenSeriesWithEpisodes()
var series = Series.Lookup("archer").First();
series.QualityProfileId = 1;
series.Path = @"C:\Test\Archer";
series.Path = @"C:\Test\Archer".AsOsAgnostic();
series = Series.Post(series);

View File

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