1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-16 21:15:33 -04:00

Fix translation key for Skip Free Space Check help text

This commit is contained in:
Bogdan
2024-09-17 17:46:33 +03:00
parent 72b2cfe8be
commit 3388fae1a5
2 changed files with 9 additions and 9 deletions

View File

@@ -14,12 +14,12 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
{
public class FreeSpaceSpecificationFixture : CoreTest<FreeSpaceSpecification>
{
private RemoteMovie _remoteEpisode;
private RemoteMovie _remoteMovie;
[SetUp]
public void Setup()
{
_remoteEpisode = new RemoteMovie() { Release = new ReleaseInfo(), Movie = new Movie { Path = @"C:\Test\Films\Movie".AsOsAgnostic() } };
_remoteMovie = new RemoteMovie() { Release = new ReleaseInfo(), Movie = new Movie { Path = @"C:\Test\Films\Movie".AsOsAgnostic() } };
}
private void WithMinimumFreeSpace(int size)
@@ -34,7 +34,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
private void WithSize(int size)
{
_remoteEpisode.Release.Size = size.Megabytes();
_remoteMovie.Release.Size = size.Megabytes();
}
[Test]
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
WithAvailableSpace(200);
WithSize(100);
Subject.IsSatisfiedBy(_remoteEpisode, null).Accepted.Should().BeTrue();
Subject.IsSatisfiedBy(_remoteMovie, null).Accepted.Should().BeTrue();
}
[Test]
@@ -54,7 +54,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
WithAvailableSpace(200);
WithSize(100);
Subject.IsSatisfiedBy(_remoteEpisode, null).Accepted.Should().BeTrue();
Subject.IsSatisfiedBy(_remoteMovie, null).Accepted.Should().BeTrue();
}
[Test]
@@ -64,7 +64,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
WithAvailableSpace(200);
WithSize(1000);
Subject.IsSatisfiedBy(_remoteEpisode, null).Accepted.Should().BeFalse();
Subject.IsSatisfiedBy(_remoteMovie, null).Accepted.Should().BeFalse();
}
[Test]
@@ -74,7 +74,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
WithAvailableSpace(200);
WithSize(100);
Subject.IsSatisfiedBy(_remoteEpisode, null).Accepted.Should().BeFalse();
Subject.IsSatisfiedBy(_remoteMovie, null).Accepted.Should().BeFalse();
}
[Test]
@@ -88,7 +88,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
WithAvailableSpace(200);
WithSize(100);
Subject.IsSatisfiedBy(_remoteEpisode, null).Accepted.Should().BeTrue();
Subject.IsSatisfiedBy(_remoteMovie, null).Accepted.Should().BeTrue();
}
}
}