Small cleanup

This commit is contained in:
Benoit Marty
2025-11-06 15:22:19 +01:00
committed by Benoit Marty
parent bb93d6ff06
commit 0c5912ded4
2 changed files with 2 additions and 2 deletions

View File

@@ -43,5 +43,5 @@ fun aHomeserverDataList(): List<HomeserverData> {
fun aHomeserverData(
homeserverUrl: String = AuthenticationConfig.MATRIX_ORG_URL,
): HomeserverData {
return HomeserverData(homeserverUrl = homeserverUrl,)
return HomeserverData(homeserverUrl = homeserverUrl)
}

View File

@@ -44,7 +44,7 @@ class DefaultActiveNotificationsProviderTest {
@Test
fun `getMembershipNotificationsForSession returns only membership notifications for that session id`() {
val activeNotifications = listOf(
aStatusBarNotification(id = notificationIdProvider.getRoomMessagesNotificationId(A_SESSION_ID), groupId = A_SESSION_ID.value,),
aStatusBarNotification(id = notificationIdProvider.getRoomMessagesNotificationId(A_SESSION_ID), groupId = A_SESSION_ID.value),
aStatusBarNotification(id = notificationIdProvider.getSummaryNotificationId(A_SESSION_ID_2), groupId = A_SESSION_ID_2.value),
aStatusBarNotification(
id = notificationIdProvider.getRoomInvitationNotificationId(A_SESSION_ID_2),