@@ -67,7 +67,7 @@ class SentryReplayOptionsTest {
6767 options.networkRequestHeaders.size,
6868 )
6969
70- val headers = options.networkRequestHeaders.toList()
70+ val headers = options.networkRequestHeaders
7171 SentryReplayOptions .getNetworkDetailsDefaultHeaders().forEach { defaultHeader ->
7272 assertEquals(true , headers.contains(defaultHeader))
7373 }
@@ -81,7 +81,7 @@ class SentryReplayOptionsTest {
8181 options.networkResponseHeaders.size,
8282 )
8383
84- val headers = options.networkResponseHeaders.toList()
84+ val headers = options.networkResponseHeaders
8585 SentryReplayOptions .getNetworkDetailsDefaultHeaders().forEach { defaultHeader ->
8686 assertEquals(true , headers.contains(defaultHeader))
8787 }
@@ -99,7 +99,7 @@ class SentryReplayOptionsTest {
9999 options.networkRequestHeaders.size,
100100 )
101101
102- val headers = options.networkRequestHeaders.toList()
102+ val headers = options.networkRequestHeaders
103103 SentryReplayOptions .getNetworkDetailsDefaultHeaders().forEach { defaultHeader ->
104104 assertTrue(headers.contains(defaultHeader))
105105 }
@@ -119,7 +119,7 @@ class SentryReplayOptionsTest {
119119 options.networkResponseHeaders.size,
120120 )
121121
122- val headers = options.networkResponseHeaders.toList()
122+ val headers = options.networkResponseHeaders
123123 SentryReplayOptions .getNetworkDetailsDefaultHeaders().forEach { defaultHeader ->
124124 assertTrue(headers.contains(defaultHeader))
125125 }
0 commit comments