diff --git a/test/activitylistmodeltestutils.h b/test/activitylistmodeltestutils.h index ef9234281..6b9fe83d6 100644 --- a/test/activitylistmodeltestutils.h +++ b/test/activitylistmodeltestutils.h @@ -77,6 +77,10 @@ class TestingALM : public OCC::ActivityListModel public: TestingALM() = default; + int maxActivities() const { return _maxActivities; }; + // Need to include the dummy "show more in activities app" activity + int maxPossibleActivities() const { return maxActivities() + 1; } + public slots: void startFetchJob() override; void startMaxActivitiesFetchJob();