Skip to content
Permalink
Browse files

Fix a few more failing tests.

  • Loading branch information...
markstory committed Jul 14, 2013
1 parent 0f5ec83 commit 20a14a7f2399f311d98000e414c6e3f182de376c
@@ -14,6 +14,7 @@
namespace TestApp\Controller;
use Cake\Controller\Controller;
use Cake\Event\Event;
/**
* SomePostsController class
@@ -48,7 +49,7 @@ class SomePostsController extends Controller {
*
* @return void
*/
public function beforeFilter() {
public function beforeFilter(Event $event) {
if ($this->request->params['action'] == 'index') {
$this->request->params['action'] = 'view';
} else {
@@ -55,7 +55,7 @@ public function testMethodNameDetection() {
$this->Shell->expects($this->at(2))
->method('out')
->with($this->logicalAnd(
$this->contains('8. beforeFilter()'),
$this->contains('8. beforeFilter($event)'),
$this->contains('24. render($view = NULL, $layout = NULL)')
));

0 comments on commit 20a14a7

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