From 23dc0d718248270ee8be8d664dfba52ef160a2b7 Mon Sep 17 00:00:00 2001 From: Daniel Klabbers Date: Mon, 21 Jun 2021 09:32:27 +0200 Subject: [PATCH] allow empty db password "" again --- php-packages/testing/src/integration/Setup/SetupScript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-packages/testing/src/integration/Setup/SetupScript.php b/php-packages/testing/src/integration/Setup/SetupScript.php index 931a6af12..0767db596 100644 --- a/php-packages/testing/src/integration/Setup/SetupScript.php +++ b/php-packages/testing/src/integration/Setup/SetupScript.php @@ -74,7 +74,7 @@ class SetupScript $this->port = intval(getenv('DB_PORT') ?: 3306); $this->name = getenv('DB_DATABASE') ?: 'flarum_test'; $this->user = getenv('DB_USERNAME') ?: 'root'; - $this->pass = getenv('DB_PASSWORD') ?: 'root'; + $this->pass = getenv('DB_PASSWORD') ?? 'root'; $this->pref = getenv('DB_PREFIX') ?: ''; }