diff --git a/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/Components/NimbleTableTests.cs b/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/Components/NimbleTableTests.cs index 84fa10ec07..d3fe2e3fd2 100644 --- a/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/Components/NimbleTableTests.cs +++ b/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/Components/NimbleTableTests.cs @@ -79,7 +79,7 @@ public void NimbleTable_WithParentIdFieldNameAttribute_HasTableMarkup() [InlineData(TableRowSelectionMode.None, null)] [InlineData(TableRowSelectionMode.Single, "single")] [InlineData(TableRowSelectionMode.Multiple, "multiple")] - public void TextFieldAppearance_AttributeIsSet(TableRowSelectionMode value, string expectedAttribute) + public void TextFieldAppearance_AttributeIsSet(TableRowSelectionMode value, string? expectedAttribute) { var table = RenderWithPropertySet(x => x.SelectionMode, value); diff --git a/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/NimbleAnchorBaseTests.cs b/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/NimbleAnchorBaseTests.cs index 01b3449921..bf89fc3111 100644 --- a/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/NimbleAnchorBaseTests.cs +++ b/packages/nimble-blazor/Tests/NimbleBlazor.Tests/Unit/NimbleAnchorBaseTests.cs @@ -25,7 +25,9 @@ public abstract class NimbleAnchorBaseTests where T : NimbleAnchorBase }; [Theory] +#pragma warning disable xUnit1042 // The member referenced by the MemberData attribute returns untyped data rows [MemberData(nameof(Data))] +#pragma warning restore xUnit1042 // The member referenced by the MemberData attribute returns untyped data rows public void NimbleAnchorBase_AttributeIsSet(Expression> propertyGetter, string markupName) { var anchorMenuItem = RenderWithPropertySet(propertyGetter, "foo");