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