Skip to content

Conversation

@stijnmoreels
Copy link
Member

We should not check for null in the constructor of the TemporaryMongoDbCollection, as the client is only there in case we created the client and have to dispose it afterwards, not to be used in the collection itself.
Since the integration tests only randomized on the resource ID overloads, it didn't took these overloads into account. This PR fixes that.

Closes #492

@stijnmoreels stijnmoreels requested a review from a team as a code owner December 9, 2025 05:27
@stijnmoreels stijnmoreels added bug Something isn't working area:storage All issues related to Azure storage labels Dec 9, 2025
@netlify
Copy link

netlify bot commented Dec 9, 2025

Deploy Preview for arcus-testing canceled.

Name Link
🔨 Latest commit 374a26f
🔍 Latest deploy log https://app.netlify.com/projects/arcus-testing/deploys/6937b3358edc6200088e9c3b

@arcus-automation
Copy link
Collaborator

🧪 Code coverage summary

Metric Value
Line coverage 🟢 93.5%
Branch coverage 🟢 83.8%

Great job! 😎 Your code coverage is higher than my caffeine levels! ☕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:storage All issues related to Azure storage bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 [Bug]: when using TemporaryMongoDbCollection with IMongoDatabase, it fails on missing MongoClient

2 participants