mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: NzbDrone service to automatically report errors and episode parse issues.
This commit is contained in:
parent
ea86ce2fcb
commit
174f765ec9
140 changed files with 10774 additions and 1694 deletions
|
@ -13,6 +13,7 @@ namespace NzbDrone.Test.Common
|
|||
|
||||
protected const string INTEGRATION_TEST = "Integration Test";
|
||||
|
||||
|
||||
private AutoMoqer _mocker;
|
||||
protected AutoMoqer Mocker
|
||||
{
|
||||
|
@ -27,6 +28,9 @@ namespace NzbDrone.Test.Common
|
|||
}
|
||||
}
|
||||
|
||||
protected Mock<RestProvider> MockedRestProvider { get; private set; }
|
||||
|
||||
|
||||
protected string VirtualPath
|
||||
{
|
||||
get
|
||||
|
@ -41,6 +45,9 @@ namespace NzbDrone.Test.Common
|
|||
[SetUp]
|
||||
public void TestBaseSetup()
|
||||
{
|
||||
MockedRestProvider = new Mock<RestProvider>();
|
||||
ReportingService.RestProvider = MockedRestProvider.Object;
|
||||
|
||||
if (Directory.Exists(TempFolder))
|
||||
{
|
||||
Directory.Delete(TempFolder, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue