From 6ff16270bb5c4039ae36e1d118a8f7552e4b53c5 Mon Sep 17 00:00:00 2001 From: Bernhard Ankenbrand Date: Thu, 6 Jul 2017 18:17:54 +0200 Subject: fixed memory leak in unit tests --- tests/units/Base.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/units/Base.php b/tests/units/Base.php index 1c93e9b8..f7c99425 100644 --- a/tests/units/Base.php +++ b/tests/units/Base.php @@ -101,5 +101,6 @@ abstract class Base extends PHPUnit_Framework_TestCase public function tearDown() { $this->container['db']->closeConnection(); + unset ($this->container); } } -- cgit v1.2.3