From dcba7dc1819d3c171429b5cf5eb7ec2fa540475c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Tue, 23 Jan 2024 11:10:02 +0100 Subject: [PATCH] Update PostgreSQL database URI in test.sh --- tests/core/db/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/db/test.sh b/tests/core/db/test.sh index 6ad823626..f18fe27fb 100755 --- a/tests/core/db/test.sh +++ b/tests/core/db/test.sh @@ -312,7 +312,7 @@ do elif [ "$test" = "postgres" ] ; then echo "💾 Running tests with PostgreSQL database ..." echo "ℹ️ Keeping the MULTISITE variable to yes and multisite settings ..." - find . -type f -name 'docker-compose.*' -exec sed -i 's@DATABASE_URI: ".*"$@DATABASE_URI: "postgresql://bunkerweb:secret\@bw-db:5432/db"@' {} \; + find . -type f -name 'docker-compose.*' -exec sed -i 's@DATABASE_URI: ".*"$@DATABASE_URI: "postgresql+psycopg://bunkerweb:secret\@bw-db:5432/db"@' {} \; echo "💾 Starting postgres ..." docker compose -f docker-compose.postgres.yml up -d