mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-13 01:45:38 +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 @@ namespace NzbDrone.Test.Common
|
||||||
[TearDown]
|
[TearDown]
|
||||||
public void LoggingDownBase()
|
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();
|
ExceptionVerification.AssertNoUnexcpectedLogs();
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ namespace NzbDrone.Test.Common
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
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();
|
var testName = TestContext.CurrentContext.Test.Name.ToLower();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue