diff OrthancFramework/UnitTestsSources/RestApiTests.cpp @ 4327:9684a690ca63

fix link errors on wasm unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Nov 2020 20:53:21 +0100
parents 83c5bd439fcc
children a01b1c9cbef4
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Tue Nov 24 19:43:10 2020 +0100
+++ b/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Tue Nov 24 20:53:21 2020 +0100
@@ -179,6 +179,7 @@
 }
 
 
+#if ORTHANC_SANDBOXED != 1
 TEST(RestApi, ParseCookies)
 {
   IHttpHandler::Arguments headers;
@@ -207,6 +208,7 @@
   ASSERT_EQ(1u, cookies.size());
   ASSERT_EQ("v", cookies["n"]);
 }
+#endif
 
 
 TEST(RestApi, RestApiPath)