Add Private Space features flag check to Settings tests
Adding this flag check since we are putting all the implementations of Private Space features behind this flag. Bug: 326060689 Test: Run presubmits and verify that nothing breaks Change-Id: I2c0e9a1afc3787232425f79d06d4aeba001283ec
This commit is contained in:
@@ -88,7 +88,8 @@ public class PrivateSpaceAuthenticationActivityTest {
|
||||
/** Tests that when Private does not exist setup flow is started. */
|
||||
//TODO(b/307729746) Plan to add more tests for complete setup flow
|
||||
@Test
|
||||
@RequiresFlagsEnabled(Flags.FLAG_ALLOW_PRIVATE_PROFILE)
|
||||
@RequiresFlagsEnabled({Flags.FLAG_ALLOW_PRIVATE_PROFILE,
|
||||
android.multiuser.Flags.FLAG_ENABLE_PRIVATE_SPACE_FEATURES})
|
||||
public void whenPrivateProfileDoesNotExist_triggersSetupFlow() {
|
||||
when(mPrivateSpaceMaintainer.doesPrivateSpaceExist()).thenReturn(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user