mirror of https://github.com/lidarr/Lidarr
Fixed Nzbdrone reporting service to point to the right url.
This commit is contained in:
parent
26242d7dde
commit
ad9a7fa6e4
|
@ -28,7 +28,7 @@ namespace NzbDrone.Common.Test
|
||||||
const string badTitle = "Bad Title";
|
const string badTitle = "Bad Title";
|
||||||
|
|
||||||
ReportingService.ReportParseError(badTitle);
|
ReportingService.ReportParseError(badTitle);
|
||||||
MockedRestProvider.Verify(p => p.PostData(It.IsAny<string>(), It.Is<ParseErrorReport>(c => c.Title == badTitle)), Times.Once());
|
MockedRestProvider.Verify(p => p.PostData(It.Is<string>(c => c.ToLower().StartsWith("http://service.nzbdrone.com/")), It.Is<ParseErrorReport>(c => c.Title == badTitle)), Times.Once());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Common
|
||||||
{
|
{
|
||||||
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
||||||
|
|
||||||
private const string SERVICE_URL = "http://localhost.:1542/reporting";
|
private const string SERVICE_URL = "http://service.nzbdrone.com/reporting";
|
||||||
private const string PARSE_URL = SERVICE_URL + "/parser";
|
private const string PARSE_URL = SERVICE_URL + "/parser";
|
||||||
private const string EXCEPTION_URL = SERVICE_URL + "/exception";
|
private const string EXCEPTION_URL = SERVICE_URL + "/exception";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue