1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

New: Use RadarrApi For MovieInfo

This commit is contained in:
Qstick
2020-05-09 21:49:09 -04:00
parent 9bdaea4a1b
commit c64c2d9f27
51 changed files with 586 additions and 1794 deletions
@@ -1,6 +1,5 @@
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.MetadataSource;
using NzbDrone.Core.MetadataSource.SkyHook;
using NzbDrone.Core.Movies;
using NzbDrone.Core.Test.Framework;
@@ -16,7 +15,6 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
public void Setup()
{
UseRealHttp();
Mocker.SetConstant<ITmdbConfigService>(Mocker.Resolve<TmdbConfigService>());
}
[TestCase(11, "Star Wars")]
@@ -24,7 +22,7 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
[TestCase(70981, "Prometheus")]
public void should_be_able_to_get_movie_detail(int tmdbId, string title)
{
var details = Subject.GetMovieInfo(tmdbId, false).Item1;
var details = Subject.GetMovieInfo(tmdbId).Item1;
ValidateMovie(details);