mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 23:57:11 -07:00
only assert no warn/errors when test has passed.r
This commit is contained in:
parent
ff573f358f
commit
8f1127b57e
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue