mirror of https://github.com/Radarr/Radarr
Fixed Nzbdrone reporting service to point to the right url.
This commit is contained in:
parent
26242d7dde
commit
ad9a7fa6e4
|
@ -21,14 +21,14 @@ namespace NzbDrone.Common.Test
|
|||
{
|
||||
ReportingService.ClearCache();
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
public void report_parse_error_should_send_report_to_server()
|
||||
{
|
||||
const string badTitle = "Bad Title";
|
||||
|
||||
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]
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Common
|
|||
{
|
||||
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 EXCEPTION_URL = SERVICE_URL + "/exception";
|
||||
|
||||
|
|
Loading…
Reference in New Issue