Skip to content

Commit 3a2a6a3

Browse files
committed
Fix endpoint for emulator
1 parent ce56009 commit 3a2a6a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/CFP/AllVersionsAndDeletes/BuilderWithCustomSerializerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ private async Task WhenADocumentIsCreatedThenUpdatedThenDeletedTestsAsync(bool p
697697

698698
CosmosClient cosmosClient = isMultiMaster
699699
? new CosmosClient(accountEndpoint, options)
700-
: new CosmosClient(accountEndpoint, authKey, options);
700+
: new CosmosClient(defaultEndpoint, authKey, options);
701701

702702
Database database = await cosmosClient.CreateDatabaseIfNotExistsAsync(id: Guid.NewGuid().ToString());
703703
Container leaseContainer = await database.CreateContainerIfNotExistsAsync(containerProperties: new ContainerProperties(id: "leases", partitionKeyPath: "/id"));

0 commit comments

Comments
 (0)