Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Sep 25, 2022
1 parent 3888e0b commit 0e1faef
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ public class LocalizationManagerTests

public LocalizationManagerTests()
{
PluralizationRuleDelegate pluralizationRule;

var csPluralRule = PluralizationRule.Czech;
_pluralRuleProvider = new Mock<IPluralRuleProvider>();
_pluralRuleProvider.SetupGet(o => o.Order).Returns(0);
_pluralRuleProvider.Setup(o => o.TryGetRule(It.Is<CultureInfo>(culture => culture.Name == "cs"), out pluralizationRule)).Returns(true);
_pluralRuleProvider.Setup(o => o.TryGetRule(It.Is<CultureInfo>(culture => culture.Name == "cs"), out csPluralRule)).Returns(true);

_translationProvider = new Mock<ITranslationProvider>();
_memoryCache = new MemoryCache(new MemoryCacheOptions());
Expand Down

0 comments on commit 0e1faef

Please sign in to comment.