Tests: fixing expected package name for AOSP tests

Change-Id: Id7a57d4bfcbed23ba20ca11846680fa1341e8a99
This commit is contained in:
vadimt
2019-06-21 10:58:03 -07:00
parent d11b604e19
commit 6346451bd6

View File

@@ -15,6 +15,8 @@
*/
package com.android.launcher3.ui.widget;
import static com.android.launcher3.ui.TaplTestsLauncher3.getAppPackageName;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNotSame;
@@ -155,7 +157,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
getWorkspace().
switchToAllApps().
getAppIcon("Test Pin Item").
launch("com.google.android.apps.nexuslauncher.tests");
launch(getAppPackageName());
assertNotNull(openMonitor.blockingGetExtraIntent());
// Set callback