From 4ccb7edf9d12d6be9800ef31f179e9c8320e1a9a Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 22 Feb 2022 09:11:15 +0000 Subject: [PATCH] Add version test to script. --- testing/api-test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/api-test.sh b/testing/api-test.sh index d59ab2a..67b947f 100755 --- a/testing/api-test.sh +++ b/testing/api-test.sh @@ -3,6 +3,9 @@ CURLOPTS=(-i -s -S -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n") HOST=127.0.0.1:8080 +# Version Test +curl ${CURLOPTS[@]} $HOST/version || exit 1 + # Trending Page curl ${CURLOPTS[@]} $HOST/trending?region=US || exit 1