path2
This commit is contained in:
@ -22,7 +22,7 @@ class FormFieldTest extends PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
$this->ff = new NotEmptyForm;
|
$this->ff = new NotEmptyFormField;
|
||||||
$this->obj_fields = $this->ff->getProp('fields');
|
$this->obj_fields = $this->ff->getProp('fields');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ class FormFieldTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testGetValueArray()
|
public function testGetValueArray()
|
||||||
{
|
{
|
||||||
$form = new NotEmptyForm();
|
$form = new NotEmptyFormField();
|
||||||
|
|
||||||
$test_array = array(
|
$test_array = array(
|
||||||
'login'=> 'login',
|
'login'=> 'login',
|
||||||
@ -215,7 +215,7 @@ class FormFieldTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class NotEmptyForm extends Form
|
class NotEmptyFormField extends Form
|
||||||
{
|
{
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
@ -229,9 +229,9 @@ class FormTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once '/var/www/majesticV/lib/core/validator/iValidator.php';
|
require_once dirname(__FILE__) . '/../../validator/iValidator.php';
|
||||||
require_once '/var/www/majesticV/lib/core/validator/Validator.php';
|
require_once dirname(__FILE__) . '/../../validator/Validator.php';
|
||||||
require_once '/var/www/majesticV/lib/core/validator/NotEmptyValidator.php';
|
require_once dirname(__FILE__) . '/../../validator/NotEmptyValidator.php';
|
||||||
|
|
||||||
class NotEmptyForm extends Form
|
class NotEmptyForm extends Form
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user