fix tests

This commit is contained in:
Michael Grote 2023-04-13 15:10:52 +02:00
parent 943662a77f
commit 08a6f84b17

View file

@ -12,7 +12,7 @@ export URL="http://docker10.grote.lan:5040"
mkdir -p tests mkdir -p tests
echo -e ${GREEN}Test: normaler Upload${ENDCOLOR} 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 curl -X POST -H "token: $TOKEN" -F "file=@tests/file" $URL/upload | jq
echo -e ${GREEN}Test: leerer Upload${ENDCOLOR} echo -e ${GREEN}Test: leerer Upload${ENDCOLOR}