Let enterprise build be able to use a different notification channel for noisy notification.
This commit is contained in:
parent
7535258bae
commit
6e958f3132
17 changed files with 135 additions and 26 deletions
|
|
@ -43,4 +43,6 @@ class DefaultEnterpriseService : EnterpriseService {
|
|||
override fun bugReportUrlFlow(sessionId: SessionId?): Flow<BugReportUrl> {
|
||||
return flowOf(BugReportUrl.UseDefault)
|
||||
}
|
||||
|
||||
override fun getNoisyNotificationChannelId(sessionId: SessionId): String? = null
|
||||
}
|
||||
|
|
|
|||
|
|
@ -98,4 +98,10 @@ class DefaultEnterpriseServiceTest {
|
|||
awaitComplete()
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `getNoisyNotificationChannelId returns null`() = runTest {
|
||||
val defaultEnterpriseService = DefaultEnterpriseService()
|
||||
assertThat(defaultEnterpriseService.getNoisyNotificationChannelId(A_SESSION_ID)).isNull()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue