mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Turn Authenticator Sync feature flag on
This commit is contained in:
parent
56367cc14e
commit
d161f19cee
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue