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)); } ///