Fixed expected value of 3.0

This commit is contained in:
Vyacheslav Agafonov
2011-12-02 17:24:41 +04:00
parent 0fdcb87653
commit 4955014473

View File

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