From fe7f6d5c4c68bdd4e0ac7868a51f658eb276a210 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 21:10:37 +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 1958d263963..ceeb002e369 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj +++ b/tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj @@ -23,7 +23,7 @@ - + From 50fe5cb49436771336dc855636b06c99c650409a Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Tue, 21 Nov 2023 09:58:28 +0300 Subject: [PATCH 2/2] Fixes update tests --- src/Microsoft.Graph/Microsoft.Graph.Beta.csproj | 2 ++ .../Requests/Generated/ActionRequestTests.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj index 82278794616..cfa427f0877 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.Beta.csproj @@ -38,6 +38,8 @@ 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 9bb43fa5f2f..e35abc5a5db 100644 --- a/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs +++ b/tests/Microsoft.Graph.DotnetCore.Test/Requests/Generated/ActionRequestTests.cs @@ -100,13 +100,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)); } ///