From f2cba2f0668d79afdfc5cb14f5633a486434acb7 Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 13 Oct 2009 00:44:28 -0400 Subject: [PATCH] Updating model_write.test to not use removed validation constants. --- cake/tests/cases/libs/model/model_write.test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/tests/cases/libs/model/model_write.test.php b/cake/tests/cases/libs/model/model_write.test.php index 036a20bfb..0a0fed579 100644 --- a/cake/tests/cases/libs/model/model_write.test.php +++ b/cake/tests/cases/libs/model/model_write.test.php @@ -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(