Skip to content

Commit

Permalink
Fix assertion methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 23, 2013
1 parent 5333738 commit d67b713
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php
Expand Up @@ -101,9 +101,9 @@ public function testTemplates() {
* @return void
*/
public function testHasPrevious() {
$this->assertSame($this->Paginator->hasPrev(), false);
$this->assertFalse($this->Paginator->hasPrev());
$this->Paginator->request->params['paging']['Article']['prevPage'] = true;
$this->assertSame($this->Paginator->hasPrev(), true);
$this->assertTrue($this->Paginator->hasPrev());
$this->Paginator->request->params['paging']['Article']['prevPage'] = false;
}

Expand All @@ -113,9 +113,9 @@ public function testHasPrevious() {
* @return void
*/
public function testHasNext() {
$this->assertSame($this->Paginator->hasNext(), true);
$this->assertTrue($this->Paginator->hasNext());
$this->Paginator->request->params['paging']['Article']['nextPage'] = false;
$this->assertSame($this->Paginator->hasNext(), false);
$this->assertFalse($this->Paginator->hasNext());
$this->Paginator->request->params['paging']['Article']['nextPage'] = true;
}

Expand Down

0 comments on commit d67b713

Please sign in to comment.