You are here

public function PagerDeprecationTest::testFindPage in Drupal 8

@expectedDeprecation pager_find_page is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->findPage() instead. See https://www.drupal.org/node/2779457

File

core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php, line 18

Class

PagerDeprecationTest
Ensure that deprecated pager functions trigger deprecation errors.

Namespace

Drupal\Tests\system\Kernel\Pager

Code

public function testFindPage() {
  $this
    ->assertInternalType('int', pager_find_page());
}