mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
only assert no warn/errors when test has passed.r
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user