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);