You are here

private function DomainListBuilderTest::checkNoPagination in Domain Access 8

Checks that pagination links do not appear, as expected.

1 call to DomainListBuilderTest::checkNoPagination()
DomainListBuilderTest::testDomainListBuilder in domain/tests/src/Functional/DomainListBuilderTest.php
Basic test setup.

File

domain/tests/src/Functional/DomainListBuilderTest.php, line 207

Class

DomainListBuilderTest
Tests behavior for the domain list builder.

Namespace

Drupal\Tests\domain\Functional

Code

private function checkNoPagination() {
  foreach ([
    '?page=0',
    '?page=1',
    '?page=2',
  ] as $href) {
    $this
      ->assertSession()
      ->linkByHrefNotExists($href, 0, 'Link not found');
  }
}