From 4955014473c2ec26a0f980a8cb6abb6f63e9ac14 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Fri, 2 Dec 2011 17:24:41 +0400 Subject: [PATCH] Fixed expected value of 3.0 --- tests/app/PagerActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/PagerActionTest.php b/tests/app/PagerActionTest.php index 0691775..80f9823 100644 --- a/tests/app/PagerActionTest.php +++ b/tests/app/PagerActionTest.php @@ -44,7 +44,7 @@ class PagerActionTest extends Action_TestCase $this->assertSame(0, $action->getOffset()); $_GET['p'] = 'last'; $action->setCount(50); - $this->assertSame(3, $action->page); + $this->assertSame(3.0, $action->page); $this->assertSame(40, $action->getOffset()); $_GET['p'] = 2; $action->setCount(50);