Use qt.io rather than qt-project.org for network tests
Mainly because of a change in certificates which is causing failing tests. Change-Id: I8304e5ac4107428a250b71be5df7b5399a811017 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>bb10
parent
467c2bc9c3
commit
fe8900405d
|
|
@ -835,7 +835,7 @@ void tst_QSslSocket::peerCertificateChain()
|
|||
QVERIFY(socket->waitForDisconnected());
|
||||
|
||||
// connect again to a different server
|
||||
socket->connectToHostEncrypted("qt-project.org", 443);
|
||||
socket->connectToHostEncrypted("www.qt.io", 443);
|
||||
socket->ignoreSslErrors();
|
||||
QCOMPARE(socket->mode(), QSslSocket::UnencryptedMode);
|
||||
QVERIFY(socket->peerCertificateChain().isEmpty());
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ void tst_QSslSocket_onDemandCertificates_member::proxyAuthenticationRequired(con
|
|||
|
||||
void tst_QSslSocket_onDemandCertificates_member::onDemandRootCertLoadingMemberMethods()
|
||||
{
|
||||
QString host("qt-project.org");
|
||||
QString host("www.qt.io");
|
||||
|
||||
// not using any root certs -> should not work
|
||||
QSslSocketPtr socket2 = newSocket();
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ void tst_QSslSocket_onDemandCertificates_static::proxyAuthenticationRequired(con
|
|||
|
||||
void tst_QSslSocket_onDemandCertificates_static::onDemandRootCertLoadingStaticMethods()
|
||||
{
|
||||
QString host("qt-project.org");
|
||||
QString host("www.qt.io");
|
||||
|
||||
// not using any root certs -> should not work
|
||||
QSslSocket::setDefaultCaCertificates(QList<QSslCertificate>());
|
||||
|
|
|
|||
Loading…
Reference in New Issue