@@ -564,15 +564,12 @@ Item {
564564 signalName: "actionInvoked"
565565 }
566566
567− function init() {
568− while (mockModel.count > 0) {
569− mockModel.remove(0);
570− }
571− }
572−
573567 function cleanup() {
574568 clickThroughSpy.clear()
575569 actionSpy.clear()
570+ while (mockModel.count > 0) {
571+ mockModel.removeFirst();
572+ }
576573 }
577574
578575 function test_NotificationRenderer(data) {