Update ForYouScreenTest.kt

pull/1837/head
Simon Marquis 2 years ago committed by GitHub
parent d6ea3cb8b9
commit 38c75556cf

@ -43,8 +43,11 @@ class ForYouScreenTest {
@get:Rule
val permissionTestRule: GrantPermissionRule =
if (SDK_INT < TIRAMISU) grant()
else grant(Manifest.permission.POST_NOTIFICATIONS)
if (SDK_INT >= TIRAMISU) {
grant(Manifest.permission.POST_NOTIFICATIONS)
} else {
grant()
}
@get:Rule
val composeTestRule = createAndroidComposeRule<ComponentActivity>()

Loading…
Cancel
Save