|
|
@ -52,11 +52,11 @@ namespace NzbDrone.Integration.Test.Client
|
|
|
|
Delete(request);
|
|
|
|
Delete(request);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<string> InvalidPost(TResource body)
|
|
|
|
public List<dynamic> InvalidPost(TResource body)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var request = BuildRequest();
|
|
|
|
var request = BuildRequest();
|
|
|
|
request.AddBody(body);
|
|
|
|
request.AddBody(body);
|
|
|
|
return Post<List<string>>(request, HttpStatusCode.BadRequest);
|
|
|
|
return Post<List<dynamic>>(request, HttpStatusCode.BadRequest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected RestRequest BuildRequest(string command = "")
|
|
|
|
protected RestRequest BuildRequest(string command = "")
|
|
|
|