mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Updating model_write.test to not use removed validation constants.
This commit is contained in:
parent
0602293d3e
commit
f2cba2f066
1 changed files with 3 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue