mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
fix tests
This commit is contained in:
parent
f498435a41
commit
5f551fe5f3
|
|
@ -75,7 +75,7 @@ final class DatabasePool implements DataStoragePoolInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
$con = empty($key) ? \reset($this->pool) : $this->pool[$key];
|
$con = empty($key) ? \reset($this->pool) : $this->pool[$key];
|
||||||
if ($con->status !== DatabaseStatus::OK) {
|
if ($con->getStatus() !== DatabaseStatus::OK) {
|
||||||
$con->connect();
|
$con->connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user