Fix test regression on API 33.
This commit is contained in:
parent
1fe228726a
commit
d09c1492c3
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ import org.robolectric.annotation.Config
|
||||||
@RunWith(RobolectricTestRunner::class)
|
@RunWith(RobolectricTestRunner::class)
|
||||||
class NotificationChannelsTest {
|
class NotificationChannelsTest {
|
||||||
@Test
|
@Test
|
||||||
@Config(sdk = [Build.VERSION_CODES.O])
|
@Config(sdk = [Build.VERSION_CODES.TIRAMISU])
|
||||||
fun `init - creates notification channels and migrates old ones`() {
|
fun `init - creates notification channels and migrates old ones`() {
|
||||||
val notificationManager = mockk<NotificationManagerCompat>(relaxed = true) {
|
val notificationManager = mockk<NotificationManagerCompat>(relaxed = true) {
|
||||||
every { notificationChannels } returns emptyList()
|
every { notificationChannels } returns emptyList()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue