|
|
|
@ -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]
|
|
|
|
|