diff --git a/test/testactivitylistmodel.cpp b/test/testactivitylistmodel.cpp index 64158822fe9ad..fd521f40699d7 100644 --- a/test/testactivitylistmodel.cpp +++ b/test/testactivitylistmodel.cpp @@ -596,12 +596,14 @@ private slots: const auto type = index.data(OCC::ActivityListModel::ActionRole).toInt(); QVERIFY(type >= OCC::Activity::ActivityType); - QVERIFY(!index.data(OCC::ActivityListModel::ObjectTypeRole).toInt()); QVERIFY(!index.data(OCC::ActivityListModel::AccountRole).toString().isEmpty()); QVERIFY(!index.data(OCC::ActivityListModel::ActionTextColorRole).toString().isEmpty()); QVERIFY(!index.data(OCC::ActivityListModel::ActionIconRole).toString().isEmpty()); QVERIFY(!index.data(OCC::ActivityListModel::PointInTimeRole).toString().isEmpty()); + QVERIFY(index.data(OCC::ActivityListModel::ObjectTypeRole).canConvert()); + QVERIFY(index.data(OCC::ActivityListModel::ObjectNameRole).canConvert()); + QVERIFY(index.data(OCC::ActivityListModel::ObjectIdRole).canConvert()); QVERIFY(index.data(OCC::ActivityListModel::ActionsLinksRole).canConvert>()); QVERIFY(index.data(OCC::ActivityListModel::ActionTextRole).canConvert()); QVERIFY(index.data(OCC::ActivityListModel::MessageRole).canConvert());