aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/qxmppsocks/tst_qxmppsocks.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qxmppsocks/tst_qxmppsocks.cpp b/tests/qxmppsocks/tst_qxmppsocks.cpp
index 2a24c524..5958f0be 100644
--- a/tests/qxmppsocks/tst_qxmppsocks.cpp
+++ b/tests/qxmppsocks/tst_qxmppsocks.cpp
@@ -59,7 +59,7 @@ void tst_QXmppSocks::newConnectionSlot(QTcpSocket *socket, QString hostName, qui
void tst_QXmppSocks::testClientAndServer()
{
QXmppSocksServer server;
- QVERIFY(server.listen(1080));
+ QVERIFY(server.listen());
QVERIFY(server.serverPort() != 0);
connect(&server, SIGNAL(newConnection(QTcpSocket*,QString,quint16)),
this, SLOT(newConnectionSlot(QTcpSocket*,QString,quint16)));
@@ -82,7 +82,6 @@ void tst_QXmppSocks::testClientAndServer()
client.disconnectFromHost();
}
-
void tst_QXmppSocks::testServer()
{
QXmppSocksServer server;