mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Fixed Nzbdrone reporting service to point to the right url.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace NzbDrone.Common.Test
|
||||
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";
|
||||
|
||||
|
Reference in New Issue
Block a user