Let notifications uses the brandColor.

This commit is contained in:
Benoit Marty 2025-10-24 18:13:43 +02:00
parent a11af0c2b2
commit b6b0ad91ce
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()