private function DomainListBuilderTest::checkPagination in Domain Access 8
Checks that pagination links appear, as expected.
1 call to DomainListBuilderTest::checkPagination()
- DomainListBuilderTest::testDomainListBuilder in domain/
tests/ src/ Functional/ DomainListBuilderTest.php - Basic test setup.
File
- domain/
tests/ src/ Functional/ DomainListBuilderTest.php, line 198
Class
- DomainListBuilderTest
- Tests behavior for the domain list builder.
Namespace
Drupal\Tests\domain\FunctionalCode
private function checkPagination() {
foreach ([
'?page=0',
'?page=1',
'?page=2',
] as $href) {
$this
->assertSession()
->linkByHrefExists($href, 0, 'Link found');
}
}