Cleanup tests.

This commit is contained in:
marco
2015-08-20 00:21:10 +02:00
parent 01360eea66
commit e386c3aa38
3 changed files with 5 additions and 81 deletions

View File

@ -13,11 +13,11 @@ class Subscriber extends Model {
));
$this->addValidations('first_name', array(
'required' => "first_name_is_blank",
'minLength|2' => "first_name_is_short"
"isString" => "name_is_not_string"
));
$this->addValidations('last_name', array(
'required' => "last_name_is_blank",
'minLength|2' => "last_name_is_short"
"isString" => "name_is_not_string"
));
}
}