We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4465657 commit b4a7034Copy full SHA for b4a7034
1 file changed
sentry-android-core/src/test/java/io/sentry/android/core/ScreenshotEventProcessorTest.kt
@@ -339,7 +339,7 @@ class ScreenshotEventProcessorTest {
339
}
340
341
@Test
342
- fun `when masking is configured but replay is not available, screenshot is still captured without masking`() {
+ fun `when masking is configured but replay is not available, screenshot is not captured`() {
343
val sut = fixture.getSut(attachScreenshot = true, isReplayAvailable = false)
344
fixture.options.screenshot.setMaskAllText(true)
345
val hint = Hint()
@@ -349,7 +349,7 @@ class ScreenshotEventProcessorTest {
349
val event = fixture.mainProcessor.process(getEvent(), hint)
350
sut.process(event, hint)
351
352
- assertNotNull(hint.screenshot)
+ assertNull(hint.screenshot)
353
354
355
0 commit comments