Skip to content

Conversation

@philipphofmann
Copy link
Member

@philipphofmann philipphofmann commented Jul 2, 2025

Remove a couple of DependencyContainer usages and use the date provider of the fixture instead, because we want to limit the usage of the DependencyContainer as much as we can during testing, cause it is global state.

Came up while looking at #5421.

#skip-changelog

Remove a couple of DependencyContainer usages and use the date provider
of the fixture instead, because we want to limit the usage of the
DependencyContainer as much as we can during testing cause it it global
state.
@codecov
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.118%. Comparing base (51f74d7) to head (9fae0a3).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #5552       +/-   ##
=============================================
- Coverage   86.211%   86.118%   -0.093%     
=============================================
  Files          407       407               
  Lines        35079     35069       -10     
  Branches     15241     15016      -225     
=============================================
- Hits         30242     30201       -41     
- Misses        4794      4825       +31     
  Partials        43        43               

see 13 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51f74d7...9fae0a3. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@philipphofmann philipphofmann merged commit 079bcc8 into main Jul 2, 2025
48 of 51 checks passed
@philipphofmann philipphofmann deleted the test/http-transport-dependency-container branch July 2, 2025 15:15
philipsawyerdd added a commit to justin-doordash/sentry-cocoa that referenced this pull request Sep 25, 2025
philipsawyerdd added a commit to justin-doordash/sentry-cocoa that referenced this pull request Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants