Updated restmodule, moved series, root folder to the new restmodule.

This commit is contained in:
kay.one 2013-04-21 20:18:08 -07:00 committed by Keivan Beigi
parent 4878556e14
commit a2e84a8f83
16 changed files with 321 additions and 219 deletions

View file

@ -2,7 +2,9 @@
using NUnit.Framework;
using NzbDrone.Api.Episodes;
using NzbDrone.Api.Mapping;
using NzbDrone.Api.RootFolders;
using NzbDrone.Api.Series;
using NzbDrone.Core.RootFolders;
using NzbDrone.Test.Common;
namespace NzbDrone.Api.Test.MappingTests
@ -12,6 +14,7 @@ namespace NzbDrone.Api.Test.MappingTests
{
[TestCase(typeof(Core.Tv.Series), typeof(SeriesResource))]
[TestCase(typeof(Core.Tv.Episode), typeof(EpisodeResource))]
[TestCase(typeof(RootFolder), typeof(RootFolderResource))]
public void matching_fields(Type modelType, Type resourceType)
{
MappingValidation.ValidateMapping(modelType, resourceType);