fixed memory leak in unit tests

This commit is contained in:
Bernhard Ankenbrand
2017-07-06 18:17:54 +02:00
committed by Frédéric Guillot
parent 2b314fc69c
commit 6ff16270bb

View File

@@ -101,5 +101,6 @@ abstract class Base extends PHPUnit_Framework_TestCase
public function tearDown() public function tearDown()
{ {
$this->container['db']->closeConnection(); $this->container['db']->closeConnection();
unset ($this->container);
} }
} }