You are here

public function EntityListBuilderTest::testCacheTags in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/Entity/EntityListBuilderTest.php \Drupal\system\Tests\Entity\EntityListBuilderTest::testCacheTags()

Tests if the list cache tags are set.

File

core/modules/system/src/Tests/Entity/EntityListBuilderTest.php, line 76
Contains \Drupal\system\Tests\Entity\EntityListBuilderTest.

Class

EntityListBuilderTest
Tests entity list builder functionality.

Namespace

Drupal\system\Tests\Entity

Code

public function testCacheTags() {
  $this
    ->drupalGet('entity_test/list');
  $this
    ->assertCacheTag('entity_test_list');
}