only assert no warn/errors when test has passed.r

pull/6/head
kay.one 11 years ago
parent ff573f358f
commit 8f1127b57e

@ -39,8 +39,7 @@ namespace NzbDrone.Test.Common
[TearDown] [TearDown]
public void LoggingDownBase() public void LoggingDownBase()
{ {
if (TestContext.CurrentContext.Result.State == TestState.Success)
//if (TestContext.CurrentContext.Result.State == TestState.Failure || TestContext.CurrentContext.Result.State == TestState.Error)
{ {
ExceptionVerification.AssertNoUnexcpectedLogs(); ExceptionVerification.AssertNoUnexcpectedLogs();
} }

Loading…
Cancel
Save