Skip to content

Commit

Permalink
e proper data type in data for activity model automated test data
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Sep 17, 2023
1 parent 2aeb821 commit 5eb4f4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/testactivitydata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit 5eb4f4b

Please sign in to comment.