Skip to content

Commit 67650b2

Browse files
Dependency upgrade (#721)
* dependency upgrade * fix test
1 parent 559badc commit 67650b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Microsoft.Extensions.Configuration.AzureAppConfiguration/Microsoft.Extensions.Configuration.AzureAppConfiguration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Azure.Data.AppConfiguration" Version="1.6.1" />
18+
<PackageReference Include="Azure.Data.AppConfiguration" Version="1.8.0" />
1919
<PackageReference Include="Azure.Messaging.EventGrid" Version="5.0.0" />
2020
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.8.0" />
2121
<PackageReference Include="DnsClient" Version="1.7.0" />

tests/Tests.AzureAppConfiguration/Unit/FeatureManagementTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ public void PreservesDefaultQuery()
10721072
options.UseFeatureFlags();
10731073
}).Build();
10741074

1075-
bool performedDefaultQuery = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains("/kv?key=%2A&label=%00"));
1075+
bool performedDefaultQuery = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains("/kv?api-version=2023-11-01&key=%2A&label=%00"));
10761076
bool queriedFeatureFlags = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains(Uri.EscapeDataString(FeatureManagementConstants.FeatureFlagMarker)));
10771077

10781078
Assert.True(performedDefaultQuery);
@@ -1100,7 +1100,7 @@ public void QueriesFeatureFlags()
11001100
})
11011101
.Build();
11021102

1103-
bool performedDefaultQuery = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains("/kv?key=%2A&label=%00"));
1103+
bool performedDefaultQuery = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains("/kv?api-version=2023-11-01&key=%2A&label=%00"));
11041104
bool queriedFeatureFlags = mockTransport.Requests.Any(r => r.Uri.PathAndQuery.Contains(Uri.EscapeDataString(FeatureManagementConstants.FeatureFlagMarker)));
11051105

11061106
Assert.True(performedDefaultQuery);

0 commit comments

Comments
 (0)