Trying to fix test for FreeBSD

This commit is contained in:
Albert Vaca Cintora 2019-02-13 00:22:38 +01:00
parent 10c370cc51
commit a424140216

View file

@ -370,7 +370,7 @@ void TestNotificationListener::testNotify()
QCOMPARE(retId, replacesId);
QCOMPARE(++proxiedNotifications, d->getSentPackets());
QVERIFY(d->getLastPacket()->hasPayload());
QCOMPARE(d->getLastPacket()->payloadSize(), fi.size());
QCOMPARE(d->getLastPacket()->payloadSize(), QFile(fi.baseName()).size());
// works also with absolute paths
retId = listener->Notify(appName, replacesId, iconName, summary, body, {}, {{}}, 0);
QCOMPARE(retId, replacesId);