mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
Using OsAgnostic paths for episode/season integration tests
This commit is contained in:
parent
6bea671a1a
commit
0d4fc5513a
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue