tests/ScrollingStyle: adjust, pagination shortened

Pagination has been "shortened" some time ago to waste less space,
tests now fit the current implementation.

fixes #6594
fixes #6595
This commit is contained in:
Thomas Gelf 2014-08-19 12:45:42 +02:00
parent 3f65f3447d
commit cd825a4e6b
1 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ class SlidingwithborderTest extends BaseTestCase
$pages = $scrollingStyle->getPages($paginator);
$this->assertInternalType('array', $pages);
$this->assertCount(13, $pages);
$this->assertEquals('...', $pages[11]);
$this->assertCount(10, $pages);
$this->assertEquals('...', $pages[8]);
}
public function testGetPages3()
@ -31,9 +31,9 @@ class SlidingwithborderTest extends BaseTestCase
$pages = $scrollingStyle->getPages($paginator);
$this->assertInternalType('array', $pages);
$this->assertCount(16, $pages);
$this->assertCount(10, $pages);
$this->assertEquals('...', $pages[3]);
$this->assertEquals('...', $pages[14]);
$this->assertEquals('...', $pages[12]);
}
protected function getPaginatorAdapter()