1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

trying to fix integration tests.

This commit is contained in:
kay.one 2013-08-31 17:30:35 -07:00
parent daabc6364d
commit 28168c1c63
2 changed files with 5 additions and 2 deletions

View file

@ -40,7 +40,8 @@ public IntegrationTest()
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 @@ private void InitRestClients()
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();

View file

@ -58,6 +58,7 @@ public void Start()
if (statusCall.ResponseStatus == ResponseStatus.Completed) if (statusCall.ResponseStatus == ResponseStatus.Completed)
{ {
Console.WriteLine("NzbDrone is started. Running Tests");
return; return;
} }