diff --git a/enterprise b/enterprise index a3e54addf0..c5249d001c 160000 --- a/enterprise +++ b/enterprise @@ -1 +1 @@ -Subproject commit a3e54addf0d61189bb6868f9b5dc733a6a1fb3ea +Subproject commit c5249d001c766261206e145fa2c54d5d9c95f2e6 diff --git a/features/enterprise/impl-foss/src/test/kotlin/io/element/android/features/enterprise/impl/DefaultEnterpriseServiceTest.kt b/features/enterprise/impl-foss/src/test/kotlin/io/element/android/features/enterprise/impl/DefaultEnterpriseServiceTest.kt index b617f84bdd..92303a189d 100644 --- a/features/enterprise/impl-foss/src/test/kotlin/io/element/android/features/enterprise/impl/DefaultEnterpriseServiceTest.kt +++ b/features/enterprise/impl-foss/src/test/kotlin/io/element/android/features/enterprise/impl/DefaultEnterpriseServiceTest.kt @@ -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()