From f46f24f0bed0b6f37260e1a412eeeed166dd840e Mon Sep 17 00:00:00 2001 From: Steven Tang Date: Tue, 27 Dec 2022 20:58:17 +1100 Subject: [PATCH] test: ref the config conditional --- testing/run_api_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/run_api_tests.sh b/testing/run_api_tests.sh index 38b22c7..4b2751b 100755 --- a/testing/run_api_tests.sh +++ b/testing/run_api_tests.sh @@ -52,10 +52,10 @@ case $1 in docker_down=1 docker compose -f "$script_dir/docker-compose.yml" up --wait -d "$1" + + config="config.$1.yml" if [ "$1" == "mariadb" ]; then config="config.mysql.yml" - else - config="config.$1.yml" fi db_port=0