Fix FaceSetupSliceTest

Bug: 141380252

Test: make -j56 RunSettingsRoboTests

Change-Id: Ifb9a29d8f3115759a9e8e93e3721135c6ba229bf
This commit is contained in:
Kevin Chyn
2019-09-26 22:01:56 -07:00
parent bba7632f28
commit acde97cf90

View File

@@ -108,10 +108,10 @@ public class FaceSetupSliceTest {
when(faceManager.hasEnrolledTemplates(UserHandle.myUserId())).thenReturn(true);
when(mContext.getSystemService(Context.FACE_SERVICE)).thenReturn(faceManager);
Settings.Secure.putInt(mContext.getContentResolver(),
Settings.Secure.FACE_UNLOCK_MUST_RE_ENROLL,
1);
Settings.Secure.FACE_UNLOCK_RE_ENROLL,
3);
final FaceSetupSlice setupSlice = new FaceSetupSlice(mContext);
assertThat(setupSlice.getSlice()).isNotNull();
}
}
}