|
|
|
@ -47,6 +47,6 @@ NetworkTests::testPing()
|
|
|
|
|
using namespace CalamaresUtils::Network;
|
|
|
|
|
Logger::setupLogLevel( Logger::LOGVERBOSE );
|
|
|
|
|
auto& nam = Manager::instance();
|
|
|
|
|
auto r = nam.synchronousPing( QUrl( "https://www.kde.org" ), RequestOptions( RequestOptions::FollowRedirect ) );
|
|
|
|
|
QVERIFY( r );
|
|
|
|
|
auto canPing_www_kde_org = nam.synchronousPing( QUrl( "https://www.kde.org" ), RequestOptions( RequestOptions::FollowRedirect ) );
|
|
|
|
|
QVERIFY( canPing_www_kde_org );
|
|
|
|
|
}
|
|
|
|
|