From 83e01d4eb1e755cab850a3c594b6514801ded37b Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Thu, 22 Dec 2016 09:57:20 +0100
Subject: [PATCH] cosmetic

---
 tests/test-run.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test-run.sh b/tests/test-run.sh
index c5948e7ce..aecbe15b5 100755
--- a/tests/test-run.sh
+++ b/tests/test-run.sh
@@ -74,7 +74,7 @@ fi
 # Test - POST and GET an article
 
 echo "Testing articles API..."
-curl -s -H "Content-Type: application/json" -X POST -d ${ARTICLE_BODY} ${GATEWAY_IP}:65440/services/articles
+curl -s -H "Content-Type: application/json" -X POST -d ${ARTICLE_BODY} ${GATEWAY_IP}:65440/services/articles > /dev/null
 response=$(curl -s ${GATEWAY_IP}:65440/services/articles | sed "s/\"createdAt\":[0-9]*,//g")
 response_ref=$(echo "${ARTICLE_REF}" | sed "s/\"createdAt\":[0-9]*,//g")
 if [ "${response}" != "${response_ref}" ]; then
@@ -86,7 +86,7 @@ fi
 # Test - POST and GET a model
 
 echo "Testing models API..."
-curl -s -H "Content-Type: application/json" -X POST -d ${MODEL_BODY} ${GATEWAY_IP}:65440/services/models
+curl -s -H "Content-Type: application/json" -X POST -d ${MODEL_BODY} ${GATEWAY_IP}:65440/services/models > /dev/null
 response=$(curl -s ${GATEWAY_IP}:65440/services/models | sed "s/\"createdAt\":[0-9]*,//g" | sed "s/\"date\":[0-9]*,//g")
 response_ref=$(echo "${MODEL_REF}" | sed "s/\"createdAt\":[0-9]*,//g" | sed "s/\"date\":[0-9]*,//g")
 if [ "${response}" != "${response_ref}" ]; then
-- 
GitLab