Fix broken preference controller test
This bug was introduced with the work to change certificate installation. The CA, User and Wi-Fi certificate preferences should always be available which is why the negative test was failing. Bug: 144257985 Test: atest com.android.settings.security Change-Id: Ib4a1880c3b21fa10c77568bc053b67ce4a0bbf85
This commit is contained in:
@@ -90,8 +90,5 @@ public class RestrictedEncryptionPreferenceControllerTest {
|
||||
assertThat(mInstallCertificatePreferenceController.isAvailable()).isFalse();
|
||||
assertThat(mResetCredentialsPreferenceController.isAvailable()).isFalse();
|
||||
assertThat(mUserCredentialsPreferenceController.isAvailable()).isFalse();
|
||||
assertThat(mInstallCaCertificatePreferenceController.isAvailable()).isFalse();
|
||||
assertThat(mInstallUserCertificatePreferenceController.isAvailable()).isFalse();
|
||||
assertThat(mInstallWifiCertificatePreferenceController.isAvailable()).isFalse();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user