DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
146 stars 59 forks source link

Remove the usage of deprecated `TestConfig` constructor #1999

Closed 0xnm closed 4 months ago

0xnm commented 4 months ago

What does this PR do?

These usages were added in https://github.com/DataDog/dd-sdk-android/pull/1996. This PR fixes that.

Review checklist (to be filled by reviewers)

codecov-commenter commented 4 months ago

Codecov Report

Merging #1999 (26dd5af) into develop (86a9447) will increase coverage by 0.07%. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1999 +/- ## =========================================== + Coverage 83.69% 83.76% +0.07% =========================================== Files 488 488 Lines 17743 17772 +29 Branches 2661 2666 +5 =========================================== + Hits 14849 14886 +37 + Misses 2174 2169 -5 + Partials 720 717 -3 ``` [see 24 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/1999/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)