Skip to content

Commit

Permalink
Fixing white spaces / double new line CS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Oct 4, 2013
1 parent c94d11d commit 85acd39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php
Expand Up @@ -923,7 +923,7 @@ public function testNextAndPrevNonDefaultModel() {
$result = $this->Paginator->next('Next', [ $result = $this->Paginator->next('Next', [
'model' => 'Server' 'model' => 'Server'
]); ]);
$expected ='<li class="next disabled"><span>Next</span></li>'; $expected = '<li class="next disabled"><span>Next</span></li>';
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);


$result = $this->Paginator->prev('Prev', [ $result = $this->Paginator->prev('Prev', [
Expand Down Expand Up @@ -1236,7 +1236,7 @@ public function testNumbersModulus() {
array('li' => array()), array('a' => array('href' => '/index?page=2')), '2', '/a', '/li', array('li' => array()), array('a' => array('href' => '/index?page=2')), '2', '/a', '/li',
array('li' => array('class' => 'ellipsis')), '...', '/li', array('li' => array('class' => 'ellipsis')), '...', '/li',
array('li' => array()), array('a' => array('href' => '/index?page=4894')), '4894', '/a', '/li', array('li' => array()), array('a' => array('href' => '/index?page=4894')), '4894', '/a', '/li',
array('li' => array('class' => 'active')), '<span', '4895', '/span', '/li', array('li' => array('class' => 'active')), '<span', '4895', '/span', '/li',
array('li' => array()), array('a' => array('href' => '/index?page=4896')), '4896', '/a', '/li', array('li' => array()), array('a' => array('href' => '/index?page=4896')), '4896', '/a', '/li',
array('li' => array()), array('a' => array('href' => '/index?page=4897')), '4897', '/a', '/li', array('li' => array()), array('a' => array('href' => '/index?page=4897')), '4897', '/a', '/li',
); );
Expand Down Expand Up @@ -1488,7 +1488,6 @@ public function testFirstNonDefaultModel() {
'pageCount' => 5, 'pageCount' => 5,
); );



$result = $this->Paginator->first('first', ['model' => 'Article:']); $result = $this->Paginator->first('first', ['model' => 'Article:']);
$this->assertEquals('', $result); $this->assertEquals('', $result);


Expand Down

0 comments on commit 85acd39

Please sign in to comment.