Add test on DefaultPushService

This commit is contained in:
Benoit Marty 2024-05-22 12:34:47 +02:00
parent 851887b115
commit 84c8a8577b
6 changed files with 259 additions and 8 deletions

View file

@ -46,9 +46,6 @@ class DefaultPushService @Inject constructor(
.sortedBy { it.index }
}
/**
* Get current push provider, compare with provided one, then unregister and register if different, and store change.
*/
override suspend fun registerWith(
matrixClient: MatrixClient,
pushProvider: PushProvider,