Skip to content

Commit 6324627

Browse files
committed
Fix tests
1 parent 56bd5d3 commit 6324627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry-android-core/src/test/java/io/sentry/android/core/ManifestMetadataReaderTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,14 +1161,14 @@ class ManifestMetadataReaderTest {
11611161
@Test
11621162
fun `applyMetadata reads collect external storage to options`() {
11631163
// Arrange
1164-
val bundle = bundleOf(ManifestMetadataReader.COLLECT_EXTERNAL_STORAGE_CONTEXT to false)
1164+
val bundle = bundleOf(ManifestMetadataReader.COLLECT_EXTERNAL_STORAGE_CONTEXT to true)
11651165
val context = fixture.getContext(metaData = bundle)
11661166

11671167
// Act
11681168
ManifestMetadataReader.applyMetadata(context, fixture.options, fixture.buildInfoProvider)
11691169

11701170
// Assert
1171-
assertFalse(fixture.options.isCollectExternalStorageContext)
1171+
assertTrue(fixture.options.isCollectExternalStorageContext)
11721172
}
11731173

11741174
@Test
@@ -1180,7 +1180,7 @@ class ManifestMetadataReaderTest {
11801180
ManifestMetadataReader.applyMetadata(context, fixture.options, fixture.buildInfoProvider)
11811181

11821182
// Assert
1183-
assertTrue(fixture.options.isCollectExternalStorageContext)
1183+
assertFalse(fixture.options.isCollectExternalStorageContext)
11841184
}
11851185

11861186
@Test

0 commit comments

Comments
 (0)