Skip to content

Commit c4ea3db

Browse files
adinauerclaude
andcommitted
test(core): Remove Data Collection identity assertion
Avoid coupling the Data Collection configuration test to reference identity. The test only needs to verify that setting a nested header behavior marks the configuration explicit. Refs #5666 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e38fdbd commit c4ea3db

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎sentry/src/test/java/io/sentry/DataCollectionTest.kt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ class DataCollectionTest {
9999

100100
dataCollection.httpHeaders.setRequest(behavior)
101101

102-
assertThat(dataCollection.httpHeaders.request).isSameInstanceAs(behavior)
103102
assertThat(dataCollection.isExplicitlyConfigured()).isTrue()
104103
}
105104

0 commit comments

Comments
 (0)