Fix unit tests

This commit is contained in:
Kijin Sung 2016-02-18 20:10:08 +09:00
parent 6ab309c8c4
commit 3f604c7f59

View file

@ -4,8 +4,15 @@ class ValidatorTest extends \Codeception\TestCase\Test
{
public function _before()
{
$ob_level = ob_get_level();
$oContext = Context::getInstance();
$oContext->init();
while (ob_get_level() > $ob_level)
{
ob_end_clean();
}
}
public function testRequired()