Skip to content
Permalink
Browse files

Dont use beforeRender in paginator helper.

  • Loading branch information...
dereuromark committed Sep 21, 2014
1 parent 95223aa commit 06af33caf3a70ded829d07a46942de5c58346111
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/View/Helper/PaginatorHelperTest.php
@@ -739,7 +739,7 @@ public function testPassedArgsMergingWithUrlOptions() {
$this->Paginator->request->params['pass'] = array(2);
$this->Paginator->request->query = array('page' => 1, 'foo' => 'bar', 'x' => 'y');
$this->Paginator->beforeRender(new Event('Foo.bar'), 'posts/index');
$this->Paginator->__construct($this->View);
$result = $this->Paginator->sort('title');
$expected = array(

0 comments on commit 06af33c

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