Turn Authenticator Sync feature flag on

This commit is contained in:
Andrew Haisting 2024-10-14 16:56:01 -04:00
parent 56367cc14e
commit d161f19cee
No known key found for this signature in database
GPG key ID: 06D711DA2CE86E0C
2 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@ sealed class FlagKey<out T : Any> {
*/
data object AuthenticatorSync : FlagKey<Boolean>() {
override val keyName: String = "enable-authenticator-sync-android"
override val defaultValue: Boolean = false
override val defaultValue: Boolean = true
override val isRemotelyConfigured: Boolean = false
}

View file

@ -2,13 +2,14 @@ package com.x8bit.bitwarden.data.platform.manager
import com.x8bit.bitwarden.data.platform.manager.model.FlagKey
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
class FlagKeyTest {
@Test
fun `AuthenticatorSync default value should be false`() {
assertFalse(FlagKey.AuthenticatorSync.defaultValue)
fun `AuthenticatorSync default value should be true`() {
assertTrue(FlagKey.AuthenticatorSync.defaultValue)
}
@Test