RootFolder removed from Series, going back to Path

This commit is contained in:
Mark McDowall 2013-05-23 21:10:56 -07:00
commit 95a9a297bc
14 changed files with 21 additions and 98 deletions

View file

@ -38,16 +38,13 @@ namespace NzbDrone.Integration.Test
{
var series = Series.Lookup("archer").First();
var rootFolder = RootFolders.Post(new RootFolderResource { Path = Directory.GetCurrentDirectory() });
series.RootFolderId = rootFolder.Id;
series.QualityProfileId = 1;
series.Path = @"C:\Test\Archer";
series = Series.Post(series);
Series.All().Should().HaveCount(1);
Series.Get(series.Id).Should().NotBeNull();
Series.Get(series.TitleSlug).Should().NotBeNull();