mirror of
https://github.com/Readarr/Readarr
synced 2026-01-04 06:33:22 +01:00
Fix mono version checks and mono test checks
This commit is contained in:
parent
08496c82af
commit
49d3c27647
2 changed files with 6 additions and 5 deletions
|
|
@ -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 @@ private void GivenOutput(string version)
|
|||
.Returns(new Version(version));
|
||||
}
|
||||
|
||||
[TestCase("5.18")]
|
||||
[TestCase("5.20")]
|
||||
public void should_return_ok(string version)
|
||||
{
|
||||
|
|
@ -27,7 +26,6 @@ public void should_return_ok(string version)
|
|||
Subject.Check().ShouldBeOk();
|
||||
}
|
||||
|
||||
[TestCase("5.16")]
|
||||
public void should_return_notice(string version)
|
||||
{
|
||||
GivenOutput(version);
|
||||
|
|
@ -35,8 +33,6 @@ public void should_return_notice(string version)
|
|||
Subject.Check().ShouldBeNotice();
|
||||
}
|
||||
|
||||
[TestCase("5.4")]
|
||||
[TestCase("5.8")]
|
||||
public void should_return_warning(string version)
|
||||
{
|
||||
GivenOutput(version);
|
||||
|
|
@ -57,6 +53,11 @@ public void should_return_warning(string version)
|
|||
[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…
Reference in a new issue