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
1 changed files with 1 additions and 0 deletions

View File

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