Permalink
Browse files

fixing method signature in test models

  • Loading branch information...
1 parent 2598d17 commit 73c66e2df4904131d1d0d325b0f49eca08c0e5bd @rchavik rchavik committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/models.php
@@ -4973,7 +4973,7 @@ protected function _findUnPublished($state, $query, $results = array()) {
*
* @return void
**/
- public function beforeValidate() {
+ public function beforeValidate($options = array()) {
$this->data[$this->alias]['title'] = 'foo';
}

0 comments on commit 73c66e2

Please sign in to comment.