diff UnitTestsSources/RestApiTests.cpp @ 2187:ad72fbd700b7

move of third party downloads to the main server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Nov 2016 12:28:09 +0100
parents fd5875662670
children a3a65de1840f
line wrap: on
line diff
--- a/UnitTestsSources/RestApiTests.cpp	Tue Nov 29 12:22:59 2016 +0100
+++ b/UnitTestsSources/RestApiTests.cpp	Tue Nov 29 12:28:09 2016 +0100
@@ -66,9 +66,10 @@
 
 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1
   Json::Value v;
-  c.SetUrl("http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/Configuration.json");
+  c.SetUrl("http://www.orthanc-server.com/downloads/third-party/Product.json");
   c.Apply(v);
-  ASSERT_TRUE(v.isMember("StorageDirectory"));
+  ASSERT_TRUE(v.type() == Json::objectValue);
+  ASSERT_TRUE(v.isMember("Description"));
 #endif
 }