Skip to content

Commit 94079a4

Browse files
committed
fixed test
1 parent a9d2ae4 commit 94079a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry/src/test/java/io/sentry/SentryEnvelopeItemTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,11 @@ class SentryEnvelopeItemTest {
467467
val file = File(fixture.pathname)
468468
val profileChunk = mock<ProfileChunk> {
469469
whenever(it.traceFile).thenReturn(file)
470+
whenever(it.platform).thenReturn("chunk platform")
470471
}
471472

472473
val chunk = SentryEnvelopeItem.fromProfileChunk(profileChunk, mock())
473-
assertEquals("android", chunk.header.platform)
474+
assertEquals("chunk platform", chunk.header.platform)
474475
}
475476

476477
@Test

0 commit comments

Comments
 (0)