fix: run update.php --update-schema before assertions
This commit is contained in:
@@ -70,6 +70,10 @@ if [ "$READY" = false ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Updating TT-RSS database schema..."
|
||||||
|
docker exec "$CONTAINER_NAME" php /var/www/ttrss/update.php --update-schema 2>&1 || true
|
||||||
|
sleep 2
|
||||||
|
|
||||||
# Test 1: HTTP status
|
# Test 1: HTTP status
|
||||||
STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
|
STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/")
|
||||||
echo "HTTP status: $STATUS"
|
echo "HTTP status: $STATUS"
|
||||||
|
|||||||
Reference in New Issue
Block a user