|
|
@ -1,6 +1,8 @@
|
|
|
|
using System.Net;
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
using System.Net;
|
|
|
|
using FluentAssertions;
|
|
|
|
using FluentAssertions;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
using NzbDrone.Api.RootFolders;
|
|
|
|
using NzbDrone.Api.Series;
|
|
|
|
using NzbDrone.Api.Series;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
|
@ -36,6 +38,10 @@ namespace NzbDrone.Integration.Test
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var series = Series.Lookup("archer").First();
|
|
|
|
var series = Series.Lookup("archer").First();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var rootFolder = RootFolders.Post(new RootFolderResource { Path = Directory.GetCurrentDirectory() });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
series.RootFolderId = rootFolder.Id;
|
|
|
|
|
|
|
|
|
|
|
|
Series.Post(series);
|
|
|
|
Series.Post(series);
|
|
|
|
|
|
|
|
|
|
|
|
Series.All().Should().HaveCount(1);
|
|
|
|
Series.All().Should().HaveCount(1);
|
|
|
|