diff --git a/testing/run_api_tests.sh b/testing/run_api_tests.sh index d5a47a0..6c0c9ac 100755 --- a/testing/run_api_tests.sh +++ b/testing/run_api_tests.sh @@ -33,9 +33,12 @@ echo "" echo "Running test collection ..." newman run "Wakapi API Tests.postman_collection.json" +exit_code=$? echo "Shutting down Wakapi ..." kill -TERM $pid echo "Deleting database ..." -rm wakapi_testing.db \ No newline at end of file +rm wakapi_testing.db + +exit $exit_code \ No newline at end of file