Skip to content
Permalink
Browse files

fixing method signature in test models

  • Loading branch information...
rchavik authored and lorenzo committed May 10, 2012
1 parent a96e439 commit 539fa3a1310fbf62008442522749f920b1cbbf6a
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 539fa3a

Please sign in to comment.
You can’t perform that action at this time.