diff options
Diffstat (limited to 'tests/presence.cpp')
| -rw-r--r-- | tests/presence.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/presence.cpp b/tests/presence.cpp index a9235d66..c693b0ac 100644 --- a/tests/presence.cpp +++ b/tests/presence.cpp @@ -77,13 +77,14 @@ void tst_QXmppPresence::testPresence() parsePacket(presence, xml); QCOMPARE(int(presence.type()), type); QCOMPARE(presence.priority(), priority); - QCOMPARE(int(presence.status().type()), statusType); + QCOMPARE(int(presence.availableStatusType()), statusType); QCOMPARE(presence.statusText(), statusText); QCOMPARE(int(presence.vCardUpdateType()), vcardUpdate); QCOMPARE(presence.photoHash(), photoHash); // legacy QCOMPARE(presence.status().priority(), priority); + QCOMPARE(int(presence.status().type()), statusType); QCOMPARE(presence.status().statusText(), statusText); serializePacket(presence, xml); |
