mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
added slug integration tests
This commit is contained in:
parent
8373e1ce10
commit
54d95e2e20
5 changed files with 27 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using NzbDrone.Api.Series;
|
||||
using RestSharp;
|
||||
|
||||
|
@ -18,5 +19,12 @@ namespace NzbDrone.Integration.Test.Client
|
|||
return Get<List<SeriesResource>>(request);
|
||||
}
|
||||
|
||||
|
||||
public SeriesResource Get(string slug, HttpStatusCode statusCode = HttpStatusCode.OK)
|
||||
{
|
||||
var request = BuildRequest(slug);
|
||||
return Get<SeriesResource>(request, statusCode);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue