core: add category filter tests (#10024)

This commit is contained in:
Diego Heras
2020-10-31 01:51:19 +01:00
committed by GitHub
parent dbfad099fc
commit b63519b64b
2 changed files with 64 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ namespace Jackett.Test.TestHelpers
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// public methods to test private methods
public IEnumerable<ReleaseInfo> _FilterResults(TorznabQuery query, IEnumerable<ReleaseInfo> results) =>
FilterResults(query, results);
public void _AddCategoryMapping(string trackerCategory, TorznabCategory newznabCategory, string trackerCategoryDesc = null) =>
AddCategoryMapping(trackerCategory, newznabCategory, trackerCategoryDesc);