Don't hide E_WARNING in unit tests

This commit is contained in:
Kijin Sung 2016-01-08 13:49:22 +09:00
parent f8ca668982
commit afbbc965ab
3 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@ class ValidatorTest extends \Codeception\TestCase\Test
public function _before()
{
global $lang;
if(!$lang) $lang = new stdClass();
$lang->filter = new stdClass();
$lang->filter->isnull = 'isnull';
$lang->filter->outofrange = 'outofrange';