mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-18 20:20:33 +00:00
trying to fix nunit in teamcity.
This commit is contained in:
parent
3162e4864d
commit
ddff5dbad4
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ public void LoggingTestSetup()
|
|||
[TearDown]
|
||||
public void LoggingDownBase()
|
||||
{
|
||||
if (TestContext.CurrentContext.Result.Status == TestStatus.Passed)
|
||||
if (TestContext.CurrentContext.Result.State == TestState.Failure || TestContext.CurrentContext.Result.State == TestState.Error)
|
||||
{
|
||||
ExceptionVerification.AssertNoUnexcpectedLogs();
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ public void TestBaseTearDown()
|
|||
{
|
||||
}
|
||||
|
||||
if (TestContext.CurrentContext.Result.Status == TestStatus.Failed)
|
||||
if (TestContext.CurrentContext.Result.State == TestState.Failure || TestContext.CurrentContext.Result.State == TestState.Error)
|
||||
{
|
||||
var testName = TestContext.CurrentContext.Test.Name.ToLower();
|
||||
|
||||
|
|
Loading…
Reference in a new issue