Let notifications uses the brandColor.
This commit is contained in:
parent
06cf6c321e
commit
0250e6fa75
2 changed files with 11 additions and 1 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit a3e54addf0d61189bb6868f9b5dc733a6a1fb3ea
|
Subproject commit c5249d001c766261206e145fa2c54d5d9c95f2e6
|
||||||
|
|
@ -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
|
@Test
|
||||||
fun `semanticColorsFlow always emits the same value for a session`() = runTest {
|
fun `semanticColorsFlow always emits the same value for a session`() = runTest {
|
||||||
val defaultEnterpriseService = DefaultEnterpriseService()
|
val defaultEnterpriseService = DefaultEnterpriseService()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue