Skip to content

Commit

Permalink
tests: extservicediscom: Fix odr-violation
Browse files Browse the repository at this point in the history
  • Loading branch information
lnjX committed Feb 3, 2024
1 parent af3a42e commit 9455f8c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#include "util.h"
#include <QObject>

const char *ns_external_service_discovery = "urn:xmpp:extdisco:2";

class tst_QXmppExternalServiceDiscoveryManager : public QObject
{
Q_OBJECT
Expand Down Expand Up @@ -80,7 +78,7 @@ void tst_QXmppExternalServiceDiscoveryManager::testDiscoveryFeatures()
TestClient test;
auto *m = test.addNewExtension<QXmppExternalServiceDiscoveryManager>();

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

QTEST_MAIN(tst_QXmppExternalServiceDiscoveryManager)
Expand Down

0 comments on commit 9455f8c

Please sign in to comment.