Fix mono version checks and mono test checks

This commit is contained in:
ta264
2020-05-10 11:36:23 +01:00
parent 08496c82af
commit 49d3c27647
2 changed files with 6 additions and 5 deletions

View File

@@ -385,7 +385,7 @@ stages:
testResultsFormat: 'NUnit'
testResultsFiles: '**/TestResult.xml'
testRunTitle: '$(testName) Unit Tests'
failTaskOnFailedTests: false
failTaskOnFailedTests: true
- stage: Integration
displayName: Integration

View File

@@ -18,7 +18,6 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
.Returns(new Version(version));
}
[TestCase("5.18")]
[TestCase("5.20")]
public void should_return_ok(string version)
{
@@ -27,7 +26,6 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
Subject.Check().ShouldBeOk();
}
[TestCase("5.16")]
public void should_return_notice(string version)
{
GivenOutput(version);
@@ -35,8 +33,6 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
Subject.Check().ShouldBeNotice();
}
[TestCase("5.4")]
[TestCase("5.8")]
public void should_return_warning(string version)
{
GivenOutput(version);
@@ -57,6 +53,11 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
[TestCase("4.2")]
[TestCase("4.4.0")]
[TestCase("4.4.1")]
[TestCase("4.6.2")]
[TestCase("5.4")]
[TestCase("5.8")]
[TestCase("5.16")]
[TestCase("5.18")]
public void should_return_error(string version)
{
GivenOutput(version);