summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorMichael Grote2023-04-13 15:10:52 +0200
committerMichael Grote2023-04-13 15:10:52 +0200
commit08a6f84b17ee5a592b0e159f0d9020ecb1bb3c8f (patch)
treea689a3735b18b6a95753d67455291b57adb2e77e /tests.sh
parent943662a77f137484bb46664a6a336504b3b2527b (diff)
fix tests
Diffstat (limited to 'tests.sh')
-rw-r--r--tests.sh2
1 files changed, 1 insertions, 1 deletions
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}