fix: remove -f from assertion curls (TT-RSS returns 5xx during boot)
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 1m24s
Docker Build and Push / test (pull_request) Failing after 38s
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
Sagent
2026-06-08 21:57:54 +00:00
parent a578c1bba1
commit 074d1ec402
+2 -2
View File
@@ -71,12 +71,12 @@ if [ "$READY" = false ]; then
fi
# Test 1: HTTP status
STATUS=$(curl -sf -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
echo "HTTP status: $STATUS"
assert_eq "HTTP 200" "200" "$STATUS"
# Test 2: Content-Type contains text/html
curl -sf -o /dev/null -D "$TMPDIR/headers" "$BASE_URL/"
curl -s -o /dev/null -D "$TMPDIR/headers" "$BASE_URL/"
assert_contains "Content-Type text/html" "text/html" "$TMPDIR/headers"
# Test 3: Body contains HTML