mirror of https://github.com/Radarr/Radarr
Fixup test failures
This commit is contained in:
parent
8babe7205b
commit
fba1a5acb9
|
@ -31,28 +31,27 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
||||||
[TestCase("4.7")]
|
[TestCase("4.7")]
|
||||||
[TestCase("4.7.1")]
|
[TestCase("4.7.1")]
|
||||||
public void should_return_notice(string version)
|
public void should_return_notice(string version)
|
||||||
|
{
|
||||||
|
if (PlatformInfo.IsDotNet)
|
||||||
{
|
{
|
||||||
GivenOutput(version);
|
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")]
|
||||||
[TestCase("4.5.2")]
|
[TestCase("4.5.2")]
|
||||||
[TestCase("4.6.1")]
|
[TestCase("4.6.1")]
|
||||||
public void should_return_error(string version)
|
public void should_return_error(string version)
|
||||||
|
{
|
||||||
|
if (PlatformInfo.IsDotNet)
|
||||||
{
|
{
|
||||||
GivenOutput(version);
|
GivenOutput(version);
|
||||||
|
|
||||||
Subject.Check().ShouldBeError();
|
Subject.Check().ShouldBeError();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void should_return_ok_for_net462_on_Win1511()
|
public void should_return_ok_for_net462_on_Win1511()
|
||||||
|
|
Loading…
Reference in New Issue