mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: (Applications) Test fails when selecting sub-categories only for sync
Fixes #588
This commit is contained in:
@@ -40,7 +40,10 @@ namespace NzbDrone.Core.Applications.Lidarr
|
|||||||
Capabilities = new IndexerCapabilities()
|
Capabilities = new IndexerCapabilities()
|
||||||
};
|
};
|
||||||
|
|
||||||
testIndexer.Capabilities.Categories.AddCategoryMapping(1, NewznabStandardCategory.Audio);
|
foreach (var cat in NewznabStandardCategory.AllCats)
|
||||||
|
{
|
||||||
|
testIndexer.Capabilities.Categories.AddCategoryMapping(1, cat);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@@ -40,7 +40,10 @@ namespace NzbDrone.Core.Applications.Radarr
|
|||||||
Capabilities = new IndexerCapabilities()
|
Capabilities = new IndexerCapabilities()
|
||||||
};
|
};
|
||||||
|
|
||||||
testIndexer.Capabilities.Categories.AddCategoryMapping(1, NewznabStandardCategory.Movies);
|
foreach (var cat in NewznabStandardCategory.AllCats)
|
||||||
|
{
|
||||||
|
testIndexer.Capabilities.Categories.AddCategoryMapping(1, cat);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@@ -40,7 +40,10 @@ namespace NzbDrone.Core.Applications.Readarr
|
|||||||
Capabilities = new IndexerCapabilities()
|
Capabilities = new IndexerCapabilities()
|
||||||
};
|
};
|
||||||
|
|
||||||
testIndexer.Capabilities.Categories.AddCategoryMapping(1, NewznabStandardCategory.Books);
|
foreach (var cat in NewznabStandardCategory.AllCats)
|
||||||
|
{
|
||||||
|
testIndexer.Capabilities.Categories.AddCategoryMapping(1, cat);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@@ -40,7 +40,10 @@ namespace NzbDrone.Core.Applications.Sonarr
|
|||||||
Capabilities = new IndexerCapabilities()
|
Capabilities = new IndexerCapabilities()
|
||||||
};
|
};
|
||||||
|
|
||||||
testIndexer.Capabilities.Categories.AddCategoryMapping(1, NewznabStandardCategory.TV);
|
foreach (var cat in NewznabStandardCategory.AllCats)
|
||||||
|
{
|
||||||
|
testIndexer.Capabilities.Categories.AddCategoryMapping(1, cat);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user