mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 08:52:38 +00:00
fixed broken tests.
This commit is contained in:
parent
797f2fcacc
commit
7e473ca78d
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NzbDrone.Api.Config;
|
using NzbDrone.Api.Config;
|
||||||
using NzbDrone.Api.Episodes;
|
using NzbDrone.Api.Episodes;
|
||||||
|
using NzbDrone.Api.Indexers;
|
||||||
using NzbDrone.Api.Mapping;
|
using NzbDrone.Api.Mapping;
|
||||||
using NzbDrone.Api.RootFolders;
|
using NzbDrone.Api.RootFolders;
|
||||||
using NzbDrone.Api.Series;
|
using NzbDrone.Api.Series;
|
||||||
|
@ -19,7 +20,7 @@ public class ResourceMappingFixture : TestBase
|
||||||
[TestCase(typeof(Core.Tv.Episode), typeof(EpisodeResource))]
|
[TestCase(typeof(Core.Tv.Episode), typeof(EpisodeResource))]
|
||||||
[TestCase(typeof(RootFolder), typeof(RootFolderResource))]
|
[TestCase(typeof(RootFolder), typeof(RootFolderResource))]
|
||||||
[TestCase(typeof(NamingConfig), typeof(NamingConfigResource))]
|
[TestCase(typeof(NamingConfig), typeof(NamingConfigResource))]
|
||||||
[TestCase(typeof(IndexerDefinition), typeof(IndexerRepository))]
|
[TestCase(typeof(IndexerDefinition), typeof(IndexerResource))]
|
||||||
public void matching_fields(Type modelType, Type resourceType)
|
public void matching_fields(Type modelType, Type resourceType)
|
||||||
{
|
{
|
||||||
MappingValidation.ValidateMapping(modelType, resourceType);
|
MappingValidation.ValidateMapping(modelType, resourceType);
|
||||||
|
|
Loading…
Reference in a new issue