From d67b7135aca1d1ad7136592ffc1655a6ab0d0b1e Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 23 Sep 2013 12:46:53 -0400 Subject: [PATCH] Fix assertion methods. --- Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php b/Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php index fd7ed8a8006..ee2f7ba8ba9 100644 --- a/Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php +++ b/Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php @@ -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; } @@ -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; }