Skip to content

Commit f1b1540

Browse files
committed
fixed test
1 parent eaea0dd commit f1b1540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,8 +1170,8 @@ class SentryTracerTest {
11701170
}
11711171

11721172
@Test
1173-
fun `when transaction is created, but not profiled, compositePerformanceCollector is started anyway`() {
1174-
val transaction = fixture.getSut()
1173+
fun `when transaction is created and sampled, but not profiled, compositePerformanceCollector is started anyway`() {
1174+
val transaction = fixture.getSut(samplingDecision = TracesSamplingDecision(true))
11751175
verify(fixture.compositePerformanceCollector).start(anyOrNull<ITransaction>())
11761176
}
11771177

0 commit comments

Comments
 (0)