Skip to content

Commit a4cde1b

Browse files
committed
Code changes to use ICollection instead of ReadOnlyList.
1 parent 331f57d commit a4cde1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/CosmosItemIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ public async Task ReadItemAsync_WithPPAFEnabledAndSingleMasterAccountWithRespons
13151315
if (cosmosClientOptions.EnablePartitionLevelFailover)
13161316
{
13171317
Assert.IsNotNull(hedgeContext);
1318-
IReadOnlyList<string> hedgedRegions = (IReadOnlyList<string>)hedgeContext;
1318+
ICollection<string> hedgedRegions = (ICollection<string>)hedgeContext;
13191319

13201320
Assert.AreEqual(3, hedgedRegions.Count);
13211321
Assert.IsTrue(hedgedRegions.Contains(region1) && hedgedRegions.Contains(region2) && hedgedRegions.Contains(region3));

0 commit comments

Comments
 (0)