Skip to content

Commit 9e3720f

Browse files
authored
Merge branch 'dev' into v1.0/pipelinebuild/81963
2 parents 04b2f11 + e7e1af2 commit 9e3720f

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
20-
<PackageReference Include="Moq" Version="4.16.1" />
21-
<PackageReference Include="xunit" Version="2.4.1" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
20+
<PackageReference Include="Moq" Version="4.18.2" />
21+
<PackageReference Include="xunit" Version="2.4.2" />
2222
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

tests/Microsoft.Graph.DotnetCore.Test/Mocks/MockAuthenticationProvider.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ public class MockAuthenticationProvider : Mock<IAuthenticationProvider>
1414
public MockAuthenticationProvider(string accessToken = null)
1515
: base(MockBehavior.Strict)
1616
{
17-
this.SetupAllProperties();
18-
1917
this.Setup(
2018
provider => provider.AuthenticateRequestAsync(It.IsAny<HttpRequestMessage>()))
2119
.Callback<HttpRequestMessage>(r => r.Headers.Authorization = new AuthenticationHeaderValue(CoreConstants.Headers.Bearer, accessToken ?? "Default-Token"))

tests/Microsoft.Graph.DotnetCore.Test/Mocks/MockHttpProvider.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public class MockHttpProvider : Mock<IHttpProvider>
1212
public MockHttpProvider(HttpResponseMessage httpResponseMessage, ISerializer serializer = null)
1313
: base(MockBehavior.Strict)
1414
{
15-
this.SetupAllProperties();
1615

1716
this.Setup(
1817
provider => provider.SendAsync(It.IsAny<HttpRequestMessage>()))

0 commit comments

Comments
 (0)