From 0d69a42ae018ea16747cf9fad593e3f83af8e526 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 25 Nov 2023 05:59:03 +0200 Subject: [PATCH] Fix Localization test --- .../Localization/LocalizationServiceFixture.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/NzbDrone.Core.Test/Localization/LocalizationServiceFixture.cs b/src/NzbDrone.Core.Test/Localization/LocalizationServiceFixture.cs index 9e8ee6d94..cd1b189ed 100644 --- a/src/NzbDrone.Core.Test/Localization/LocalizationServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Localization/LocalizationServiceFixture.cs @@ -5,7 +5,6 @@ using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Core.Configuration; using NzbDrone.Core.Localization; using NzbDrone.Core.Test.Framework; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.Localization { @@ -31,13 +30,11 @@ namespace NzbDrone.Core.Test.Localization [Test] public void should_get_string_in_french() { - Mocker.GetMock().Setup(m => m.UILanguage).Returns("fr_fr"); + Mocker.GetMock().Setup(m => m.UILanguage).Returns("fr"); var localizedString = Subject.GetLocalizedString("BackupNow"); localizedString.Should().Be("Sauvegarder maintenant"); - - ExceptionVerification.ExpectedErrors(1); } [Test]