1
0
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:
Qstick 2020-02-29 23:42:01 -05:00
parent 8babe7205b
commit fba1a5acb9

View File

@ -31,28 +31,27 @@ public void should_return_ok(string version)
[TestCase("4.7")]
[TestCase("4.7.1")]
public void should_return_notice(string version)
{
if (PlatformInfo.IsDotNet)
{
GivenOutput(version);
Subject.Check().ShouldBeNotice();
}
public void should_return_warning(string version)
{
GivenOutput(version);
Subject.Check().ShouldBeWarning();
}
[TestCase("4.5")]
[TestCase("4.5.2")]
[TestCase("4.6.1")]
public void should_return_error(string version)
{
if (PlatformInfo.IsDotNet)
{
GivenOutput(version);
Subject.Check().ShouldBeError();
}
}
[Test]
public void should_return_ok_for_net462_on_Win1511()