동작하지 않던 Unit test 코드 복원

This commit is contained in:
bnu 2015-04-15 21:33:45 +09:00
parent 3e58d680d8
commit 0d24de74d3
7 changed files with 141 additions and 123 deletions

View file

@ -7,11 +7,11 @@ require_once _XE_PATH_.'classes/validator/Validator.class.php';
class ValidatorTest extends \Codeception\TestCase\Test
{
protected function setUp()
public function _before()
{
global $lang;
$lang->filter = new stdClass;
$lang->filter = new stdClass();
$lang->filter->isnull = 'isnull';
$lang->filter->outofrange = 'outofrange';
$lang->filter->equalto = 'equalto';