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

Add API Integration tests to ensure RemoteUrl is really remote

This commit is contained in:
Qstick
2021-02-07 17:04:44 -05:00
parent 47c2a15b70
commit e64dd799e6
2 changed files with 35 additions and 4 deletions
@@ -86,9 +86,18 @@ namespace NzbDrone.Integration.Test.Client
{
}
public List<TResource> All()
public List<TResource> All(Dictionary<string, object> queryParams = null)
{
var request = BuildRequest();
if (queryParams != null)
{
foreach (var param in queryParams)
{
request.AddParameter(param.Key, param.Value);
}
}
return Get<List<TResource>>(request);
}