From c57f66c9efc8ac907a08cb1c5eeb6daef12d00fc Mon Sep 17 00:00:00 2001 From: Jonathan Meyer <26874831+atmgrifter00@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:14:18 -0600 Subject: [PATCH] Fix build issues after dependency updates. --- .../NimbleBlazor.Tests/Unit/Components/NimbleTableTests.cs | 2 +- .../Tests/NimbleBlazor.Tests/Unit/NimbleAnchorBaseTests.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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");