summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rw-r--r--tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.sh b/tests.sh
index 313f44e..06d10bc 100644
--- a/tests.sh
+++ b/tests.sh
@@ -16,11 +16,11 @@ touch tests/file
curl -X POST -H "token: $TOKEN" -F "file=@tests/file" $URL/upload | jq
echo -e ${GREEN}Test: leerer Upload${ENDCOLOR}
-curl -X POST -H "token: $TOKEN" $URL/upload
+curl -X POST -H "token: $TOKEN" $URL/upload | jq
echo -e ${GREEN}Test: fehlerhafter Dateiname Upload${ENDCOLOR}
touch ./tests/'hallo\welt.txt'
-curl -X POST -H "token: $TOKEN" -F "file=@tests/hallo\welt.txt" $URL/upload
+curl -X POST -H "token: $TOKEN" -F "file=@tests/hallo\welt.txt" $URL/upload | jq
echo -e ${GREEN}Test: List Files${ENDCOLOR}
curl -H "token: $TOKEN" $URL/list | jq