1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fixed broken sample tests

This commit is contained in:
Mark McDowall 2013-11-03 22:44:35 -08:00
parent 77a5fd62d2
commit d111be17ad

View File

@ -99,6 +99,8 @@ public void should_not_run_runtime_check_on_linux()
[Test]
public void should_run_runtime_check_on_windows()
{
WindowsOnly();
GivenRuntime(120);
GivenFileSize(1000.Megabytes());
@ -110,6 +112,7 @@ public void should_run_runtime_check_on_windows()
[Test]
public void should_return_false_if_runtime_is_less_than_minimum()
{
WindowsOnly();
GivenRuntime(60);
Subject.IsSatisfiedBy(_localEpisode).Should().BeFalse();
@ -118,6 +121,7 @@ public void should_return_false_if_runtime_is_less_than_minimum()
[Test]
public void should_return_true_if_runtime_greater_than_than_minimum()
{
WindowsOnly();
GivenRuntime(120);
Subject.IsSatisfiedBy(_localEpisode).Should().BeTrue();