Updating model_write.test to not use removed validation constants.

This commit is contained in:
mark_story 2009-10-13 00:44:28 -04:00
parent 0602293d3e
commit f2cba2f066

View file

@ -564,9 +564,9 @@ class ModelWriteTest extends BaseModelTest {
$TestModel =& new TestValidate();
$TestModel->validate = array(
'user_id' => VALID_NUMBER,
'title' => VALID_NOT_EMPTY,
'body' => VALID_NOT_EMPTY
'user_id' => 'numeric',
'title' => 'notEmpty',
'body' => 'notEmpty'
);
$data = array('TestValidate' => array(