From 539d2266d16b941a806f7a9c5b4a0724046ed4f7 Mon Sep 17 00:00:00 2001 From: Nikolaos Dimopoulos Date: Wed, 15 May 2019 08:23:34 -0400 Subject: [PATCH] [#13648] - Trying to close the connection --- tests/unit/Firewall/Adapter/Micro/AclCest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/Firewall/Adapter/Micro/AclCest.php b/tests/unit/Firewall/Adapter/Micro/AclCest.php index f813e9fab82..ff7c742eaac 100644 --- a/tests/unit/Firewall/Adapter/Micro/AclCest.php +++ b/tests/unit/Firewall/Adapter/Micro/AclCest.php @@ -104,6 +104,9 @@ function ($container) { public function _after() { ob_end_clean(); + if ($this->container->has('db')) { + $this->container->has('db')->close(); + } } /**