You are here

public function ConfigTest::testGetCacheTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::testGetCacheTags()

@covers ::getCacheTags

File

core/tests/Drupal/Tests/Core/Config/ConfigTest.php, line 423

Class

ConfigTest
Tests the Config.

Namespace

Drupal\Tests\Core\Config

Code

public function testGetCacheTags() {
  $this
    ->assertSame([
    'config:' . $this->config
      ->getName(),
  ], $this->config
    ->getCacheTags());
}