diff --git a/tests/src/com/android/launcher3/popup/SystemShortcutTest.java b/tests/src/com/android/launcher3/popup/SystemShortcutTest.java index e459956929..89a454467c 100644 --- a/tests/src/com/android/launcher3/popup/SystemShortcutTest.java +++ b/tests/src/com/android/launcher3/popup/SystemShortcutTest.java @@ -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); }