@@ -186,6 +186,7 @@ private Q_SLOTS:
186186 QCOMPARE(spy.count() > 0, true);
187187 QCOMPARE(spy.at(0).at(2).value<QVector<int>>().first(), (int)LauncherModelInterface::RolePinned);
188188
189+ // App should be pinned now
189190 spy.clear();
190191 launcherModel->requestRemove(launcherModel->get(0)->appId());
191192 QCOMPARE(launcherModel->get(0)->pinned(), false);
@@ -193,12 +194,12 @@ private Q_SLOTS:
193194 QCOMPARE(spy.count(), 1);
194195 QCOMPARE(spy.at(0).at(2).value<QVector<int>>().first(), (int)LauncherModelInterface::RolePinned);
195196
197+ // Now that the app is unpinned, nothing should change, but the signal shouldn't be emitted
196198 spy.clear();
197199 launcherModel->requestRemove(launcherModel->get(0)->appId());
198200 QCOMPARE(launcherModel->get(0)->pinned(), false);
199201 QCOMPARE(launcherModel->get(1)->pinned(), false);
200− QCOMPARE(spy.count(), 1);
201− QCOMPARE(spy.at(0).at(2).value<QVector<int>>().first(), (int)LauncherModelInterface::RolePinned);
202+ QCOMPARE(spy.count(), 0);
202203 }
203204
204205 void testRemove_data() {