diff ui/tests/downloadertest.cpp @ 910:eaed02defe6a

More SSLConnection refactoring. Fixes curl downloader.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 18 Aug 2014 18:51:33 +0200
parents 17e1c8f37d72
children 2949f1842955
line wrap: on
line diff
--- a/ui/tests/downloadertest.cpp	Thu Aug 14 11:24:13 2014 +0200
+++ b/ui/tests/downloadertest.cpp	Mon Aug 18 18:51:33 2014 +0200
@@ -94,7 +94,7 @@
     QFileInfo fi(getRandomDataFile(200));
 
     Downloader* downloader = new Downloader(this,
-            QString::fromLatin1("https://localhost:44443"),
+            QString::fromLatin1("https://127.0.0.1:44443"),
             otherCert.readAll(),
             QDateTime::currentDateTime(), // Last installed SW
             QDateTime::fromString("2010", "YYYY"),
@@ -155,7 +155,7 @@
     validCert.open(QIODevice::ReadOnly);
 
     Downloader* downloader = new Downloader(this,
-            QString::fromLatin1("https://localhost:44443"),
+            QString::fromLatin1("https://127.0.0.1:44443"),
             validCert.readAll(),
             QDateTime::fromString("2010", "YYYY"),
             QDateTime::currentDateTime(),
@@ -196,7 +196,7 @@
     validCert.open(QIODevice::ReadOnly);
 
     Downloader* downloader = new Downloader(this,
-            QString::fromLatin1("https://localhost:44443"),
+            QString::fromLatin1("https://127.0.0.1:44443"),
             validCert.readAll(),
             QDateTime::currentDateTime(), // Last installed SW
             QDateTime::fromString("2010", "YYYY"),

http://wald.intevation.org/projects/trustbridge/