diff options
author | Bernhard Ankenbrand <github@media-one.de> | 2017-07-06 18:17:54 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-07-06 22:29:20 -0700 |
commit | 6ff16270bb5c4039ae36e1d118a8f7552e4b53c5 (patch) | |
tree | 75e1a24d43e0ab14c361b9438485bfa686a3b2d4 | |
parent | 2b314fc69c6586caf30353b236e81bb5cf25407b (diff) |
fixed memory leak in unit tests
-rw-r--r-- | tests/units/Base.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |