Let notifications uses the brandColor.

This commit is contained in:
Benoit Marty
2025-10-24 18:13:43 +02:00
parent 06cf6c321e
commit 0250e6fa75
2 changed files with 11 additions and 1 deletions

View File

@@ -51,6 +51,16 @@ class DefaultEnterpriseServiceTest {
}
}
@Test
fun `brandColorsFlow always emits null`() = runTest {
val defaultEnterpriseService = DefaultEnterpriseService()
defaultEnterpriseService.brandColorsFlow(null).test {
val initialState = awaitItem()
assertThat(initialState).isNull()
awaitComplete()
}
}
@Test
fun `semanticColorsFlow always emits the same value for a session`() = runTest {
val defaultEnterpriseService = DefaultEnterpriseService()