Skip to content

Commit

Permalink
refactor: remove unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 1, 2021
1 parent 627b145 commit ba05600
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions tests/system/Pager/PagerRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,8 @@ public function testGetNextPageWithSegmentHigherThanZero()

public function testGetPageNumber()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 3,
'total' => 100,
Expand All @@ -581,9 +580,8 @@ public function testGetPageNumber()

public function testGetPageNumberSetSurroundCount()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 5,
'total' => 100,
Expand All @@ -599,9 +597,8 @@ public function testGetPageNumberSetSurroundCount()

public function testGetPreviousPageNumber()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 5,
'total' => 100,
Expand All @@ -615,9 +612,8 @@ public function testGetPreviousPageNumber()

public function testGetPreviousPageNumberNull()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 1,
'total' => 100,
Expand All @@ -631,9 +627,8 @@ public function testGetPreviousPageNumberNull()

public function testGetNextPageNumber()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 5,
'total' => 100,
Expand All @@ -647,9 +642,8 @@ public function testGetNextPageNumber()

public function testGetNextPageNumberNull()
{
$uri = $this->uri;
$details = [
'uri' => $uri,
'uri' => $this->uri,
'pageCount' => 10,
'currentPage' => 10,
'total' => 100,
Expand Down

0 comments on commit ba05600

Please sign in to comment.