diff --git a/lib/Cake/Test/Case/Model/models.php b/lib/Cake/Test/Case/Model/models.php index 41138e155..fe0db80a2 100644 --- a/lib/Cake/Test/Case/Model/models.php +++ b/lib/Cake/Test/Case/Model/models.php @@ -4973,7 +4973,7 @@ class CustomArticle extends AppModel { * * @return void **/ - public function beforeValidate() { + public function beforeValidate($options = array()) { $this->data[$this->alias]['title'] = 'foo'; }