From 5f551fe5f38831dcdf3432f5eacb230956fbd2ba Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 27 Sep 2023 02:56:50 +0000 Subject: [PATCH] fix tests --- DataStorage/Database/DatabasePool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataStorage/Database/DatabasePool.php b/DataStorage/Database/DatabasePool.php index 1cdf52d56..9dfd6d08a 100755 --- a/DataStorage/Database/DatabasePool.php +++ b/DataStorage/Database/DatabasePool.php @@ -75,7 +75,7 @@ final class DatabasePool implements DataStoragePoolInterface } $con = empty($key) ? \reset($this->pool) : $this->pool[$key]; - if ($con->status !== DatabaseStatus::OK) { + if ($con->getStatus() !== DatabaseStatus::OK) { $con->connect(); }