mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixup test failures
This commit is contained in:
parent
8babe7205b
commit
fba1a5acb9
@ -32,16 +32,12 @@ public void should_return_ok(string version)
|
|||||||
[TestCase("4.7.1")]
|
[TestCase("4.7.1")]
|
||||||
public void should_return_notice(string version)
|
public void should_return_notice(string version)
|
||||||
{
|
{
|
||||||
GivenOutput(version);
|
if (PlatformInfo.IsDotNet)
|
||||||
|
{
|
||||||
|
GivenOutput(version);
|
||||||
|
|
||||||
Subject.Check().ShouldBeNotice();
|
Subject.Check().ShouldBeNotice();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void should_return_warning(string version)
|
|
||||||
{
|
|
||||||
GivenOutput(version);
|
|
||||||
|
|
||||||
Subject.Check().ShouldBeWarning();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("4.5")]
|
[TestCase("4.5")]
|
||||||
@ -49,9 +45,12 @@ public void should_return_warning(string version)
|
|||||||
[TestCase("4.6.1")]
|
[TestCase("4.6.1")]
|
||||||
public void should_return_error(string version)
|
public void should_return_error(string version)
|
||||||
{
|
{
|
||||||
GivenOutput(version);
|
if (PlatformInfo.IsDotNet)
|
||||||
|
{
|
||||||
|
GivenOutput(version);
|
||||||
|
|
||||||
Subject.Check().ShouldBeError();
|
Subject.Check().ShouldBeError();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user