diff --git a/.github/scripts/post-elastic-test-queries.sh b/.github/scripts/post-elastic-test-queries.sh index d0386b2..01a9f0a 100755 --- a/.github/scripts/post-elastic-test-queries.sh +++ b/.github/scripts/post-elastic-test-queries.sh @@ -43,21 +43,5 @@ else exit 1 fi -response=$(curl -s -w "%{http_code}" --header "Authorization: Bearer $access_token" -o response_body "http://localhost:8091/api/v4/codeable-concept/entry/a2ac3e3d-f649-3f0a-916a-74a5abc3a361") -http_code="${response: -3}" -json_body=$(cat response_body) - -if [ "$http_code" -eq 200 ]; then - if echo "$json_body" | jq -e '.code and .code != ""' | grep -q true; then - echo "OK response with non-empty array" - else - echo "Empty or nonexistent response" - exit 1 - fi -else - echo "Response code $http_code" - exit 1 -fi - echo "All elastic search tests completed" exit 0 \ No newline at end of file