Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 9455f8c

Browse files
committed
tests: extservicediscom: Fix odr-violation
1 parent af3a42e commit 9455f8c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/qxmppexternalservicediscoverymanager/tst_qxmppexternalservicediscoverymanager.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include "util.h"
99
#include <QObject>
1010

11-
const char *ns_external_service_discovery = "urn:xmpp:extdisco:2";
12-
1311
class tst_QXmppExternalServiceDiscoveryManager : public QObject
1412
{
1513
Q_OBJECT
@@ -80,7 +78,7 @@ void tst_QXmppExternalServiceDiscoveryManager::testDiscoveryFeatures()
8078
TestClient test;
8179
auto *m = test.addNewExtension<QXmppExternalServiceDiscoveryManager>();
8280

83-
QCOMPARE(m->discoveryFeatures().contains(ns_external_service_discovery), true);
81+
QVERIFY(m->discoveryFeatures().contains(u"urn:xmpp:extdisco:2"));
8482
}
8583

8684
QTEST_MAIN(tst_QXmppExternalServiceDiscoveryManager)

0 commit comments

Comments
 (0)