VROOM-Project / vroom-docker

Docker image for vroom and vroom-express
BSD 2-Clause "Simplified" License
88 stars 58 forks source link

harden tests #62

Closed nilsnolde closed 2 years ago

nilsnolde commented 2 years ago

currently we only test for a vroom-express failure it seems, meaning vroom is never actually called and issues like #61 can go unnoticed.

we definitely need to make that more robust and test for a 200 as well with the example2.json.

in fact, I just see that we actually do want to request for a 200, but curl doesn't fail unless called with --fail: https://github.com/VROOM-Project/vroom-docker/blob/df2a6202df8c3ac41f27a6187c81d6db8d6e6364/tests/test.sh#L31-L32

easy fix, I'll that real quick.