Small cleanup
This commit is contained in:
parent
bb93d6ff06
commit
0c5912ded4
2 changed files with 2 additions and 2 deletions
|
|
@ -43,5 +43,5 @@ fun aHomeserverDataList(): List<HomeserverData> {
|
||||||
fun aHomeserverData(
|
fun aHomeserverData(
|
||||||
homeserverUrl: String = AuthenticationConfig.MATRIX_ORG_URL,
|
homeserverUrl: String = AuthenticationConfig.MATRIX_ORG_URL,
|
||||||
): HomeserverData {
|
): HomeserverData {
|
||||||
return HomeserverData(homeserverUrl = homeserverUrl,)
|
return HomeserverData(homeserverUrl = homeserverUrl)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ class DefaultActiveNotificationsProviderTest {
|
||||||
@Test
|
@Test
|
||||||
fun `getMembershipNotificationsForSession returns only membership notifications for that session id`() {
|
fun `getMembershipNotificationsForSession returns only membership notifications for that session id`() {
|
||||||
val activeNotifications = listOf(
|
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.getSummaryNotificationId(A_SESSION_ID_2), groupId = A_SESSION_ID_2.value),
|
||||||
aStatusBarNotification(
|
aStatusBarNotification(
|
||||||
id = notificationIdProvider.getRoomInvitationNotificationId(A_SESSION_ID_2),
|
id = notificationIdProvider.getRoomInvitationNotificationId(A_SESSION_ID_2),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue