function PagerPluginBaseTest::testUseCountQuery

Same name in other branches
  1. 8.9.x core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testUseCountQuery()
  2. 10 core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testUseCountQuery()
  3. 11.x core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testUseCountQuery()

Tests the useCountQuery() method.

See also

\Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery()

File

core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php, line 157

Class

PagerPluginBaseTest
@coversDefaultClass \Drupal\views\Plugin\views\pager\PagerPluginBase @group views

Namespace

Drupal\Tests\views\Unit\Plugin\pager

Code

public function testUseCountQuery() {
    $this->assertTrue($this->pager
        ->useCountQuery());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.