mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed SceneMappingProxy tests
This commit is contained in:
parent
e07b588fd8
commit
67555db685
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Test.DataAugmentationFixture.Scene
|
||||
|
||||
public class SceneMappingProxyFixture : CoreTest<SceneMappingProxy>
|
||||
{
|
||||
private const string SCENE_MAPPING_URL = "http://services.nzbdrone.com/SceneMapping/Active";
|
||||
private const string SCENE_MAPPING_URL = "http://services.nzbdrone.com/v1/SceneMapping";
|
||||
|
||||
[Test]
|
||||
public void fetch_should_return_list_of_mappings()
|
||||
@ -31,7 +31,6 @@ public void fetch_should_return_list_of_mappings()
|
||||
mappings.Should().NotContain(c => c.TvdbId == 0);
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void should_throw_on_server_error()
|
||||
{
|
||||
|
@ -1,27 +1,32 @@
|
||||
[
|
||||
{
|
||||
"CleanTitle": "csinewyork",
|
||||
"Id": "73696",
|
||||
"Title": "CSI"
|
||||
"title": "Adventure Time",
|
||||
"searchTitle": "Adventure Time",
|
||||
"season": -1,
|
||||
"tvdbId": 152831
|
||||
},
|
||||
{
|
||||
"CleanTitle": "csiny",
|
||||
"Id": "73696",
|
||||
"Title": "CSI"
|
||||
"title": "Americas Funniest Home Videos",
|
||||
"searchTitle": "Americas Funniest Home Videos",
|
||||
"season": -1,
|
||||
"tvdbId": 76235
|
||||
},
|
||||
{
|
||||
"CleanTitle": "csi",
|
||||
"Id": "72546",
|
||||
"Title": "CSI"
|
||||
"title": "Antiques Roadshow UK",
|
||||
"searchTitle": "Antiques Roadshow UK",
|
||||
"season": -1,
|
||||
"tvdbId": 83774
|
||||
},
|
||||
{
|
||||
"CleanTitle": "csilasvegas",
|
||||
"Id": "72546",
|
||||
"Title": "CSI"
|
||||
"title": "Aqua Something You Know Whatever",
|
||||
"searchTitle": "Aqua Something You Know Whatever",
|
||||
"season": 9,
|
||||
"tvdbId": 77120
|
||||
},
|
||||
{
|
||||
"CleanTitle": "archer",
|
||||
"Id": "110381",
|
||||
"Title": "Archer"
|
||||
"title": "Aqua Teen Hunger Force",
|
||||
"searchTitle": "Aqua Teen Hunger Force",
|
||||
"season": -1,
|
||||
"tvdbId": 77120
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user