Skip to content

Commit 2cb927b

Browse files
Merge branch 'trial-testing:main' into main
2 parents 5caab44 + f9587ac commit 2cb927b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/auth.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# 5. Send POST request with JSON payload to "/"
8282
- name: 🚀 Send POST request with JSON payload to root
8383
run: |
84-
84+
8585
echo "🚀 POST $API_BASE/"
8686
echo "📄 Payload contents:"
8787
cat "$JSON_PAYLOAD_PATH" || { echo "❌ files_payload.json not found"; exit 1; }
@@ -106,6 +106,11 @@ jobs:
106106
exit 1
107107
fi
108108
109+
message=$(jq -r '.message' <<< "$response")
110+
111+
echo -e "❌ Test Fail:\n$message"
112+
113+
109114
# Parse JSON safely
110115
result_status=$(echo "$body" | jq -r '.status // empty')
111116
result_message=$(echo "$body" | jq -r '.message // "No message provided"')

0 commit comments

Comments
 (0)