mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02: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 @@ public void LoggingTestSetup()
|
||||||
[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 a new issue