fix: remove -f from assertion curls (TT-RSS returns 5xx during boot)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user