From 35d4eb250fb073a4b52a036704fa207e0dd4e9ee Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Thu, 22 Dec 2016 09:48:35 +0100
Subject: [PATCH] removed unused variable following codacy hint

---
 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 82fcb166a..c5948e7ce 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..."
-temp=$(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
 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..."
-temp=$(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
 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