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

@ -1 +1 @@
Subproject commit a3e54addf0d61189bb6868f9b5dc733a6a1fb3ea
Subproject commit c5249d001c766261206e145fa2c54d5d9c95f2e6

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()