fix tests
This commit is contained in:
parent
943662a77f
commit
08a6f84b17
1 changed files with 1 additions and 1 deletions
2
tests.sh
2
tests.sh
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue