From 8f1127b57eb4e38a4e579bc56f9c58c846043d2c Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 5 Aug 2013 21:48:48 -0700 Subject: [PATCH] only assert no warn/errors when test has passed.r --- NzbDrone.Test.Common/LoggingTest.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NzbDrone.Test.Common/LoggingTest.cs b/NzbDrone.Test.Common/LoggingTest.cs index 111271905..dca44e8f1 100644 --- a/NzbDrone.Test.Common/LoggingTest.cs +++ b/NzbDrone.Test.Common/LoggingTest.cs @@ -39,8 +39,7 @@ namespace NzbDrone.Test.Common [TearDown] public void LoggingDownBase() { - - //if (TestContext.CurrentContext.Result.State == TestState.Failure || TestContext.CurrentContext.Result.State == TestState.Error) + if (TestContext.CurrentContext.Result.State == TestState.Success) { ExceptionVerification.AssertNoUnexcpectedLogs(); }