summaryrefslogtreecommitdiffstats
path: root/tests/auto/qiodevice/tst_qiodevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qiodevice/tst_qiodevice.cpp')
-rw-r--r--tests/auto/qiodevice/tst_qiodevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qiodevice/tst_qiodevice.cpp b/tests/auto/qiodevice/tst_qiodevice.cpp
index f55c659..38eac55 100644
--- a/tests/auto/qiodevice/tst_qiodevice.cpp
+++ b/tests/auto/qiodevice/tst_qiodevice.cpp
@@ -124,7 +124,7 @@ void tst_QIODevice::constructing_QTcpSocket()
QVERIFY(!device->isOpen());
- socket.connectToHost(FTP_TEST_SERVER_NAME_1, 21);
+ socket.connectToHost(QtNetworkSettings::serverName(), 21);
QVERIFY(socket.waitForConnected(5000));
QVERIFY(device->isOpen());