Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 405817f5 authored by Anushree Ganjam's avatar Anushree Ganjam Committed by Android (Google) Code Review
Browse files

Merge "Remove Verify getProfileUser calls since it's making test flaky." into main

parents 99f11290 8b770b71
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -244,7 +244,6 @@ public class SystemShortcutTest {
        SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL
                .getShortcut(mTestContext, mAppInfo, mView);

        verify(mPrivateProfileManager, times(2)).getProfileUser();
        assertNull(systemShortcut);
    }

@@ -266,7 +265,6 @@ public class SystemShortcutTest {
        SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL
                .getShortcut(mTestContext, mAppInfo, mView);

        verify(mPrivateProfileManager, times(3)).getProfileUser();
        verify(mPrivateProfileManager).isEnabled();
        assertNotNull(systemShortcut);
    }