1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: don't require db param for api test script

This commit is contained in:
Ferdinand Mütsch 2022-12-30 13:41:49 +01:00
parent f755275309
commit 814e74a41e

View File

@ -110,7 +110,7 @@ echo "Configuration file: $config"
pid=$! pid=$!
wait_for_wakapi wait_for_wakapi
if [ "$1" == "sqlite" ]; then if [ "$1" == "sqlite" ] || [ -z "$1" ]; then
echo "Running test collection ..." echo "Running test collection ..."
newman run "wakapi_api_tests.postman_collection.json" newman run "wakapi_api_tests.postman_collection.json"
exit_code=$? exit_code=$?