From d09c1492c3e68850944731cf78df6fb937f94809 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 30 Jun 2025 16:46:25 +0200 Subject: [PATCH] Fix test regression on API 33. --- .../impl/notifications/channels/NotificationChannelsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/channels/NotificationChannelsTest.kt b/libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/channels/NotificationChannelsTest.kt index 2d67cf4705..a6b8bc9985 100644 --- a/libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/channels/NotificationChannelsTest.kt +++ b/libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/channels/NotificationChannelsTest.kt @@ -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(relaxed = true) { every { notificationChannels } returns emptyList()