diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp index 1f17d870..8bc5069b 100644 --- a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp +++ b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp @@ -595,8 +595,8 @@ void tst_QXmppPubSubManager::testRequestItems() for (const auto &item : std::as_const(returnedItems)) { QCOMPARE(item.artist(), QStringLiteral("Yes")); - QCOMPARE(item.length(), uint16_t(686)); - QCOMPARE(item.rating(), uint8_t(8)); + QCOMPARE(*item.length(), uint16_t(686)); + QCOMPARE(*item.rating(), uint8_t(8)); QCOMPARE(item.source(), QStringLiteral("Yessongs")); QCOMPARE(item.title(), QStringLiteral("Heart of the Sunrise")); QCOMPARE(item.track(), QLatin1String("3")); |
