diff options
| author | Michael Grote | 2023-04-13 14:33:14 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-04-13 14:33:14 +0200 |
| commit | 4751e6f5d43bf3d2a3fbb485eb9b9340969f23cf (patch) | |
| tree | 2404b361afa9c1800dec2a3bfe45059d48353dec /tests.sh | |
| parent | fb78c61450d777f8c5cf48d280c68df3d33d2f87 (diff) | |
fix tests
Diffstat (limited to 'tests.sh')
| -rw-r--r-- | tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |