mirror of https://github.com/lidarr/Lidarr
only assert no warn/errors when test has passed.r
This commit is contained in:
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…
Reference in New Issue