mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
fixed disk scan scheduler.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user