mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
improved clone injection.
This commit is contained in:
parent
0861e5f8c1
commit
b3c9217412
3 changed files with 8 additions and 5 deletions
|
@ -86,7 +86,7 @@ namespace NzbDrone.Integration.Test.Client
|
|||
return Post<List<dynamic>>(request, HttpStatusCode.BadRequest);
|
||||
}
|
||||
|
||||
protected RestRequest BuildRequest(string command = "")
|
||||
public RestRequest BuildRequest(string command = "")
|
||||
{
|
||||
return new RestRequest(_resource + "/" + command.Trim('/'))
|
||||
{
|
||||
|
@ -94,7 +94,7 @@ namespace NzbDrone.Integration.Test.Client
|
|||
};
|
||||
}
|
||||
|
||||
protected T Get<T>(IRestRequest request, HttpStatusCode statusCode = HttpStatusCode.OK) where T : class, new()
|
||||
public T Get<T>(IRestRequest request, HttpStatusCode statusCode = HttpStatusCode.OK) where T : class, new()
|
||||
{
|
||||
request.Method = Method.GET;
|
||||
return Execute<T>(request, statusCode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue