From 5305bc77422baa16a27da28e6375e665cfb2d9ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 11:22:12 +0000 Subject: [PATCH 1/2] Bump xunit from 2.6.1 to 2.6.2 Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.2. - [Commits](https://github.com/xunit/xunit/compare/2.6.1...2.6.2) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../Microsoft.Graph.DotnetCore.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj index f82b05af8b5..994a0c5c80f 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj @@ -18,7 +18,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 52af9dc9682c6017f089bf982a408fe7803845bd Mon Sep 17 00:00:00 2001 From: "Andrew Omondi (from Dev Box)" Date: Mon, 20 Nov 2023 15:08:17 +0300 Subject: [PATCH 2/2] fix compilier warnings --- src/Microsoft.Graph/Microsoft.Graph.csproj | 2 ++ .../Requests/Generated/ActionRequestTests.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index 2a74c99433f..2964c22e352 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -35,6 +35,8 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/CHANGELOG.md true README.md $(NoWarn);NU5048;NETSDK1138 + + true diff --git a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs index 025981070f1..7932ceda8f9 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs @@ -102,13 +102,13 @@ public void NoParameters() /// Tests that an exception is thrown when the first of required parameters passed to an action request is null (assignLicence). /// [Fact] - public void MultipleRequiredParameters_FirstParameterNull() + public async Task MultipleRequiredParameters_FirstParameterNull() { var mockRequestAdapter = new Mock(); var graphServiceClient = new GraphServiceClient(mockRequestAdapter.Object); var removeLicenses = new List { new Guid() }; - Assert.ThrowsAsync(() => graphServiceClient.Me.AssignLicense.PostAsync(null)); + await Assert.ThrowsAsync(() => graphServiceClient.Me.AssignLicense.PostAsync(null)); } ///