Fixup test failures

This commit is contained in:
Qstick 2020-02-29 23:42:01 -05:00
parent 8babe7205b
commit fba1a5acb9
1 changed files with 10 additions and 11 deletions

View File

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