diff --git a/tests.sh b/tests.sh index 06d10bc..d29d5e3 100644 --- a/tests.sh +++ b/tests.sh @@ -12,7 +12,7 @@ export URL="http://docker10.grote.lan:5040" mkdir -p tests echo -e ${GREEN}Test: normaler Upload${ENDCOLOR} -touch tests/file +echo content > tests/file curl -X POST -H "token: $TOKEN" -F "file=@tests/file" $URL/upload | jq echo -e ${GREEN}Test: leerer Upload${ENDCOLOR}