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