How to Override CosmosClient Configuration in WebApplicationFactory for Integration Testing
Hi everyone,
I'm trying to override the CosmosClient configuration in my Program.cs for my integration tests using WebApplicationFactory, but I'm running into issues. Here's the relevant code from Program.cs:
I tried removing the existing CosmosClient service like this, but it doesn't seem to work:
0 Replies