Small cleanup

This commit is contained in:
Benoit Marty 2025-11-06 15:22:19 +01:00 committed by Benoit Marty
parent a9958505d3
commit fd0ef1ae7a
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),