diff --git a/test/testactivitydata.cpp b/test/testactivitydata.cpp index 03a1dd76e5a44..5615338ee3b6f 100644 --- a/test/testactivitydata.cpp +++ b/test/testactivitydata.cpp @@ -49,10 +49,10 @@ class TestActivityData : public QObject const auto path = QStringLiteral("path/test.").append(fileFormat); const auto fileName = QStringLiteral("test.").append(fileFormat); const auto activityType = QStringLiteral("file"); - const auto activityId = QStringLiteral("90000"); + const auto activityId = 90000; const auto message = QString(); - const auto objectName = QStringLiteral("test.").append(fileFormat); - const auto link = account->url().toString().append(QStringLiteral("/f/")).append(activityId); + const auto objectName = QStringLiteral("test.%1").arg(fileFormat); + const auto link = account->url().toString().append(QStringLiteral("/f/%1").arg(activityId)); const auto datetime = QDateTime::currentDateTime().toString(Qt::ISODate); const auto icon = account->url().toString().append(QStringLiteral("/apps/files/img/add-color.svg"));