From 3388fae1a5ae38838b5eff77a8a6a27e28c7679a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 17 Sep 2024 17:46:33 +0300 Subject: [PATCH] Fix translation key for Skip Free Space Check help text --- .../Settings/MediaManagement/MediaManagement.js | 2 +- .../FreeSpaceSpecificationFixture.cs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/Settings/MediaManagement/MediaManagement.js b/frontend/src/Settings/MediaManagement/MediaManagement.js index 0a9aa88c1..16a3669bd 100644 --- a/frontend/src/Settings/MediaManagement/MediaManagement.js +++ b/frontend/src/Settings/MediaManagement/MediaManagement.js @@ -184,7 +184,7 @@ class MediaManagement extends Component { diff --git a/src/NzbDrone.Core.Test/DecisionEngineTests/FreeSpaceSpecificationFixture.cs b/src/NzbDrone.Core.Test/DecisionEngineTests/FreeSpaceSpecificationFixture.cs index 1ba572b5c..42f57fb6c 100644 --- a/src/NzbDrone.Core.Test/DecisionEngineTests/FreeSpaceSpecificationFixture.cs +++ b/src/NzbDrone.Core.Test/DecisionEngineTests/FreeSpaceSpecificationFixture.cs @@ -14,12 +14,12 @@ namespace NzbDrone.Core.Test.DecisionEngineTests { public class FreeSpaceSpecificationFixture : CoreTest { - 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(); } } }