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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user