File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed
tests/Microsoft.Graph.DotnetCore.Core.Test Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Dependabot metadata
2121 id : metadata
22- uses : dependabot/fetch-metadata@v1.5.1
22+ uses : dependabot/fetch-metadata@v1.6.0
2323 with :
2424 github-token : " ${{ secrets.GITHUB_TOKEN }}"
2525
Original file line number Diff line number Diff line change 2121 <DelaySign >false</DelaySign >
2222 <AssemblyOriginatorKeyFile >35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
2323 <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
24- <VersionPrefix >3.0.8 </VersionPrefix >
24+ <VersionPrefix >3.0.9 </VersionPrefix >
2525 <VersionSuffix ></VersionSuffix >
2626 <PackageReleaseNotes >
27- - Fixes nextLink loop exception when making delta requests with the page iterator(https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1948)
28- - Bumps kiota abstraction packages to fix bugs in Backing store and allow large stream downloads.
27+ - Fixes regression in url building when the httpClient base addresss is used.
2928 </PackageReleaseNotes >
3029 <PublishRepositoryUrl >true</PublishRepositoryUrl >
3130 <EmbedUntrackedSources >true</EmbedUntrackedSources >
6463 <PackageReference Include =" Microsoft.Kiota.Serialization.Json" Version =" 1.0.6" />
6564 <PackageReference Include =" Microsoft.Kiota.Serialization.Text" Version =" 1.0.1" />
6665 <PackageReference Include =" Microsoft.Kiota.Serialization.Form" Version =" 1.0.1" />
67- <PackageReference Include =" Microsoft.Kiota.Http.HttpClientLibrary" Version =" 1.0.4 " />
66+ <PackageReference Include =" Microsoft.Kiota.Http.HttpClientLibrary" Version =" 1.0.5 " />
6867 </ItemGroup >
6968 <ItemGroup Condition =" '$(TargetFramework)' != 'netstandard2.0' " >
7069 <PackageReference Include =" NETStandard.Library" Version =" 2.0.3" />
Original file line number Diff line number Diff line change 1919 <PrivateAssets >all</PrivateAssets >
2020 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2121 </PackageReference >
22- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.2 " />
22+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.3 " />
2323 <PackageReference Include =" Moq" Version =" 4.18.4" />
2424 <PackageReference Include =" xunit" Version =" 2.4.2" />
2525 <ProjectReference Include =" ..\..\src\Microsoft.Graph.Core\Microsoft.Graph.Core.csproj" />
Original file line number Diff line number Diff line change @@ -26,5 +26,15 @@ public void BaseClient_InitializeBaseUrlWithoutTrailingSlash()
2626
2727 Assert . Equal ( expectedBaseUrl , baseClient . RequestAdapter . BaseUrl ) ;
2828 }
29+
30+ [ Fact ]
31+ public void BaseClient_InitializeBaseUrlTrailingSlash ( )
32+ {
33+ var expectedBaseUrl = "https://localhost" ;
34+
35+ var baseClient = new BaseClient ( "https://localhost/" , this . authenticationProvider . Object ) ;
36+
37+ Assert . Equal ( expectedBaseUrl , baseClient . RequestAdapter . BaseUrl ) ;
38+ }
2939 }
3040}
You can’t perform that action at this time.
0 commit comments