From 15544e6e9a862aa2ea7a542bc966f66633c3aab0 Mon Sep 17 00:00:00 2001 From: Sagent Date: Mon, 8 Jun 2026 22:11:25 +0000 Subject: [PATCH] fix: run update.php --update-schema before assertions --- tests/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.sh b/tests/test.sh index f264303..61134b8 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -70,6 +70,10 @@ if [ "$READY" = false ]; then exit 1 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 STATUS=$(curl -s -o "$TMPDIR/body" -w '%{http_code}' "$BASE_URL/") echo "HTTP status: $STATUS"