summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Ankenbrand <github@media-one.de>2017-07-06 18:17:54 +0200
committerFrédéric Guillot <fred@kanboard.net>2017-07-06 22:29:20 -0700
commit6ff16270bb5c4039ae36e1d118a8f7552e4b53c5 (patch)
tree75e1a24d43e0ab14c361b9438485bfa686a3b2d4
parent2b314fc69c6586caf30353b236e81bb5cf25407b (diff)
fixed memory leak in unit tests
-rw-r--r--tests/units/Base.php1
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);
}
}