diff --git a/src/BlazorUI/Bit.BlazorUI.Tests/Components/Utilities/Typography/BitTypographyTests.cs b/src/BlazorUI/Bit.BlazorUI.Tests/Components/Utilities/Typography/BitTypographyTests.cs index 3321856fdb..36926fae43 100644 --- a/src/BlazorUI/Bit.BlazorUI.Tests/Components/Utilities/Typography/BitTypographyTests.cs +++ b/src/BlazorUI/Bit.BlazorUI.Tests/Components/Utilities/Typography/BitTypographyTests.cs @@ -57,7 +57,7 @@ public void BitTypographyShouldRespectVariant(BitTypographyVariant variant) parameters.Add(p => p.Variant, variant); }); - var el = variantMapping[variant]; + var el = VariantMapping[variant]; var cssClass = $"bit-tpg-{variant.ToString().ToLower(CultureInfo.InvariantCulture)}"; component.MarkupMatches(@$"<{el} class=""bit-tpg {cssClass}"" id:ignore>"); @@ -76,7 +76,7 @@ public void BitTypographyShouldRespectElement(string element) }); var defaultVariant = BitTypographyVariant.Subtitle1; - var el = element is null ? variantMapping[defaultVariant] : element; + var el = element is null ? VariantMapping[defaultVariant] : element; component.MarkupMatches(@$"<{el} class=""bit-tpg bit-tpg-subtitle1"" id:ignore>");