Fix mono version checks and mono test checks

pull/20/head
ta264 5 years ago
parent 08496c82af
commit 49d3c27647

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

@ -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);

Loading…
Cancel
Save