fixed memory leak in unit tests
This commit is contained in:
committed by
Frédéric Guillot
parent
2b314fc69c
commit
6ff16270bb
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user