Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#7049 from keradus/whit…
Browse files Browse the repository at this point in the history
…espacy_lines

CS: Remove trailing whitespace the end of blank lines.
  • Loading branch information
Ocramius committed Dec 16, 2014
3 parents 13c36d5 + f0a6e98 + 614d3a4 commit b02ee1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/PaginatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ public function testGetsItemsByPageHandleDbSelectAdapter()

$paginator = new Paginator\Paginator($dbSelect);
$this->assertInstanceOf('ArrayIterator', $paginator->getItemsByPage(1));

$paginator = new Paginator\Paginator(new Paginator\Adapter\Iterator($resultSet->getDataSource()));

foreach ($paginator as $item) {
Expand Down Expand Up @@ -858,7 +858,7 @@ public function testItemCountsForEmptyItemSet()
{
$paginator = new Paginator\Paginator(new Adapter\ArrayAdapter(array()));
$paginator->setCurrentPageNumber(1);

$expected = new stdClass();
$expected->pageCount = 0;
$expected->itemCountPerPage = 10;
Expand All @@ -872,9 +872,9 @@ public function testItemCountsForEmptyItemSet()
$expected->totalItemCount = 0;
$expected->firstItemNumber = 0;
$expected->lastItemNumber = 0;

$actual = $paginator->getPages();

$this->assertEquals($expected, $actual);
}
}

0 comments on commit b02ee1d

Please sign in to comment.