You are here

public function CorePagerReplaceTest::testPagerQueryParametersAndCacheContext in Pagerer 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/CorePagerReplaceTest.php \Drupal\Tests\pagerer\Functional\CorePagerReplaceTest::testPagerQueryParametersAndCacheContext()

Test that pagerer specific cache tags have been added.

Overrides PagerTest::testPagerQueryParametersAndCacheContext

File

tests/src/Functional/CorePagerReplaceTest.php, line 57

Class

CorePagerReplaceTest
Test replacement of Drupal core pager.

Namespace

Drupal\Tests\pagerer\Functional

Code

public function testPagerQueryParametersAndCacheContext() {
  parent::testPagerQueryParametersAndCacheContext();
  $this
    ->assertCacheTag('config:pagerer.settings');
  $this
    ->assertCacheTag('config:pagerer.preset.core_replace');
}