You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: feature/notification/api/src/commonMain/kotlin/net/thunderbird/feature/notification/api/ui/style/InAppNotificationStyle.kt
Copy file name to clipboardExpand all lines: feature/notification/api/src/commonMain/kotlin/net/thunderbird/feature/notification/api/ui/style/builder/InAppNotificationStyleBuilder.kt
Copy file name to clipboardExpand all lines: feature/notification/api/src/commonTest/kotlin/net/thunderbird/feature/notification/api/ui/style/InAppNotificationStyleTest.kt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,11 @@ class InAppNotificationStyleTest {
24
24
@Test
25
25
fun`inAppNotificationStyle dsl should create a banner global in-app notification style`() {
26
26
// Arrange
27
-
val expectedStyle =InAppNotificationStyle.BannerGlobalNotification(priority =0)
27
+
val priority =NotificationPriority(1u)
28
+
val expectedStyle =InAppNotificationStyle.BannerGlobalNotification(priority = priority)
28
29
29
30
// Act
30
-
val inAppStyle = inAppNotificationStyle { bannerGlobal() }
31
+
val inAppStyle = inAppNotificationStyle { bannerGlobal(priority = priority) }
0 commit comments