Permalink
Browse files

Updating model_write.test to not use removed validation constants.

  • Loading branch information...
1 parent 0602293 commit f2cba2f0668d79afdfc5cb14f5633a486434acb7 @markstory markstory committed Oct 13, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/tests/cases/libs/model/model_write.test.php
@@ -564,9 +564,9 @@ function testValidatesBackwards() {
$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(

0 comments on commit f2cba2f

Please sign in to comment.