diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 10d5146..cd98284 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -90,7 +90,7 @@ jobs: CURL_RESPONSE=$(curl --write-out '%{http_code}' --output /dev/null --silent --header "Authorization: Bearer ${token}" http://localhost:8000/auth) printf "Test: %15s: Result %s == %s: " "${msg}" "${expected}" "${CURL_RESPONSE}" - if [ "${2}" != "${CURL_RESPONSE}" ]; then + if [ "${expected}" != "${CURL_RESPONSE}" ]; then printf "Failed\n\n" exit 255 fi