Browse Source

Fixed expected value of 3.0

master
Vyacheslav Agafonov 13 years ago
parent
commit
4955014473
  1. 2
      tests/app/PagerActionTest.php

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

Loading…
Cancel
Save