|
|
@@ -842,7 +842,7 @@ class PaginatorHelperTest extends TestCase
|
|
|
|
|
|
$result = $this->Paginator->sort('name', null, ['url' => $options]);
|
|
|
$expected = [
|
|
|
- 'a' => ['href' => '/members/posts/index?page=2&sort=name&direction=asc'],
|
|
|
+ 'a' => ['href' => '/members/posts/index?sort=name&direction=asc'],
|
|
|
'Name',
|
|
|
'/a'
|
|
|
];
|
|
|
@@ -951,7 +951,7 @@ class PaginatorHelperTest extends TestCase
|
|
|
|
|
|
$result = $this->Paginator->sort('name');
|
|
|
$expected = [
|
|
|
- 'a' => ['href' => '/posts/index?article%5Bpage%5D=3&article%5Bsort%5D=name&article%5Bdirection%5D=asc'],
|
|
|
+ 'a' => ['href' => '/posts/index?article%5Bsort%5D=name&article%5Bdirection%5D=asc'],
|
|
|
'Name',
|
|
|
'/a'
|
|
|
];
|