Skip to content

Commit

Permalink
Requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed May 11, 2021
1 parent e5864f7 commit a0de978
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,16 @@ class SettingsSecurityFragmentTest {
checkCommonPreferences()

assertNotNull(prefBiometric)
prefBiometric?.verifyPreference(
keyPref = BiometricActivity.PREFERENCE_SET_BIOMETRIC,
titlePref = context.getString(R.string.prefs_biometric),
summaryPref = context.getString(R.string.prefs_biometric_summary),
visible = true,
enabled = false
)
assertFalse(prefBiometric!!.isChecked)
prefBiometric?.run {
verifyPreference(
keyPref = BiometricActivity.PREFERENCE_SET_BIOMETRIC,
titlePref = context.getString(R.string.prefs_biometric),
summaryPref = context.getString(R.string.prefs_biometric_summary),
visible = true,
enabled = false
)
assertFalse(isChecked)
}
}

@Test
Expand Down

0 comments on commit a0de978

Please sign in to comment.