diff --git a/test/activitylistmodeltestutils.cpp b/test/activitylistmodeltestutils.cpp index a226caccf..06f6109ba 100644 --- a/test/activitylistmodeltestutils.cpp +++ b/test/activitylistmodeltestutils.cpp @@ -459,6 +459,11 @@ void TestingALM::startFetchJob() job->start(); } +void TestingALM::insertOrRemoveDummyFetchingActivity() +{ + OCC::ActivityListModel::insertOrRemoveDummyFetchingActivity(); +} + void TestingALM::slotProcessReceivedActivities() { if (rowCount() > _numRowsPrev) { diff --git a/test/activitylistmodeltestutils.h b/test/activitylistmodeltestutils.h index 16b8614dc..9ce12aeab 100644 --- a/test/activitylistmodeltestutils.h +++ b/test/activitylistmodeltestutils.h @@ -78,6 +78,7 @@ public: TestingALM() = default; void startFetchJob() override; + void insertOrRemoveDummyFetchingActivity(); public slots: void slotProcessReceivedActivities();