mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Let notifications uses the brandColor.
This commit is contained in:
+1
-1
Submodule enterprise updated: a3e54addf0...c5249d001c
+10
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user