on xenial help sign in
Fix test killApps method
commit4a1024dc4c466998a89b314c8a01bf2286be0508 authorGerry Boland <gerry.boland@canonical.com> dateMon 9 Sep 2013, 10:57 (13 years ago) parentc32d603
1 file changed+2−2
tests/qmltests/tst_Shell.qml+2−2
tests/qmltests/tst_Shell.qml+2−2
@@ -66,7 +66,7 @@ Item {
6666 }
6767
6868 // kill all (fake) running apps
69− killApps(ApplicationManager.applications);
69+ killApps(ApplicationManager);
7070
7171 var dashHome = findChild(shell, "DashHome");
7272 swipeUntilScopeViewIsReached(dashHome);
@@ -75,7 +75,7 @@ Item {
7575 function killApps(apps) {
7676 if (!apps) return;
7777 while (apps.count > 0) {
78− ApplicationManager.stopApplication(apps.get(0));
78+ ApplicationManager.stopApplication(apps.get(0).appId);
7979 }
8080 }
8181