mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-17 10:45:49 +02:00
fixed series add series integration tests.
This commit is contained in:
parent
28168c1c63
commit
f5da886db6
@ -3,6 +3,7 @@
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Api.Series;
|
||||
using System.Linq;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Integration.Test
|
||||
{
|
||||
@ -31,7 +32,7 @@ public void should_be_able_to_add_and_delete_series()
|
||||
var series = Series.Lookup("archer").First();
|
||||
|
||||
series.QualityProfileId = 1;
|
||||
series.Path = @"C:\Test\Archer";
|
||||
series.Path = @"C:\Test\Archer".AsOsAgnostic();
|
||||
|
||||
series = Series.Post(series);
|
||||
|
||||
@ -51,7 +52,7 @@ public void should_be_able_to_find_series_by_id()
|
||||
var series = Series.Lookup("90210").First();
|
||||
|
||||
series.QualityProfileId = 1;
|
||||
series.Path = @"C:\Test\90210";
|
||||
series.Path = @"C:\Test\90210".AsOsAgnostic();
|
||||
|
||||
series = Series.Post(series);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user