mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
trying to fix integration tests.
This commit is contained in:
@@ -40,7 +40,8 @@ namespace NzbDrone.Integration.Test
|
|||||||
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget));
|
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget));
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestFixtureSetUp]
|
//[TestFixtureSetUp]
|
||||||
|
[SetUp]
|
||||||
public void SmokeTestSetup()
|
public void SmokeTestSetup()
|
||||||
{
|
{
|
||||||
_runner = new NzbDroneRunner();
|
_runner = new NzbDroneRunner();
|
||||||
@@ -64,7 +65,8 @@ namespace NzbDrone.Integration.Test
|
|||||||
NamingConfig = new ClientBase<NamingConfigResource>(RestClient, "config/naming");
|
NamingConfig = new ClientBase<NamingConfigResource>(RestClient, "config/naming");
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestFixtureTearDown]
|
//[TestFixtureTearDown]
|
||||||
|
[TearDown]
|
||||||
public void SmokeTestTearDown()
|
public void SmokeTestTearDown()
|
||||||
{
|
{
|
||||||
_runner.KillAll();
|
_runner.KillAll();
|
||||||
|
@@ -58,6 +58,7 @@ namespace NzbDrone.Integration.Test
|
|||||||
|
|
||||||
if (statusCall.ResponseStatus == ResponseStatus.Completed)
|
if (statusCall.ResponseStatus == ResponseStatus.Completed)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("NzbDrone is started. Running Tests");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user