Skip to content

Commit b26c7ec

Browse files
committed
test(android-nav3): Remove no-op logger self-assignment in SentryNavEffectTest
setLogger(logger) resolved to SentryOptions.getLogger() via the apply receiver, setting the logger to its own default rather than a mock. Nothing asserts on the logger, so the line was misleading dead code.
1 parent 036ca6a commit b26c7ec

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎sentry-android-navigation3/src/test/kotlin/io/sentry/compose/navigation3/SentryNavEffectTest.kt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class SentryNavEffectTest {
6767
dsn = "http://key@localhost/proj"
6868
setTracesSampleRate(1.0)
6969
isEnableScreenTracking = true
70-
setLogger(logger)
7170
idleTimeout = null
7271
deadlineTimeout = 0
7372
}

0 commit comments

Comments
 (0)