mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
fixed disk scan scheduler.
This commit is contained in:
parent
42849d3276
commit
687f8d9384
23 changed files with 140 additions and 142 deletions
|
@ -15,7 +15,6 @@ namespace NzbDrone.Integration.Test.Client
|
|||
private readonly string _resource;
|
||||
|
||||
private readonly Logger _logger;
|
||||
private readonly JsonSerializer _jsonSerializer;
|
||||
|
||||
public ClientBase(IRestClient restClient, string resource = null)
|
||||
{
|
||||
|
@ -27,10 +26,6 @@ namespace NzbDrone.Integration.Test.Client
|
|||
_restClient = restClient;
|
||||
_resource = resource;
|
||||
|
||||
_jsonSerializer = new JsonSerializer();
|
||||
|
||||
|
||||
|
||||
_logger = LogManager.GetLogger("REST");
|
||||
}
|
||||
|
||||
|
@ -109,7 +104,7 @@ namespace NzbDrone.Integration.Test.Client
|
|||
|
||||
response.ErrorMessage.Should().BeBlank();
|
||||
|
||||
return _jsonSerializer.Deserialize<T>(response.Content);
|
||||
return Json.Deserialize<T>(response.Content);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue