Fix test regression on API 33.
This commit is contained in:
committed by
Benoit Marty
parent
1fe228726a
commit
d09c1492c3
@@ -23,7 +23,7 @@ import org.robolectric.annotation.Config
|
||||
@RunWith(RobolectricTestRunner::class)
|
||||
class NotificationChannelsTest {
|
||||
@Test
|
||||
@Config(sdk = [Build.VERSION_CODES.O])
|
||||
@Config(sdk = [Build.VERSION_CODES.TIRAMISU])
|
||||
fun `init - creates notification channels and migrates old ones`() {
|
||||
val notificationManager = mockk<NotificationManagerCompat>(relaxed = true) {
|
||||
every { notificationChannels } returns emptyList()
|
||||
|
||||
Reference in New Issue
Block a user