From 539fa3a1310fbf62008442522749f920b1cbbf6a Mon Sep 17 00:00:00 2001 From: Rachman Chavik Date: Thu, 10 May 2012 19:47:01 +0700 Subject: [PATCH] fixing method signature in test models --- lib/Cake/Test/Case/Model/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }