You are here

protected function MediaHalJsonAnonTest::getExpectedCacheTags in Drupal 8

The expected cache tags for the GET/HEAD response of the test entity.

Return value

string[]

Overrides EntityResourceTestBase::getExpectedCacheTags

See also

::testGet

File

core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php, line 229

Class

MediaHalJsonAnonTest
@group hal

Namespace

Drupal\Tests\media\Functional\Hal

Code

protected function getExpectedCacheTags() {
  return Cache::mergeTags(parent::getExpectedCacheTags(), [
    'config:hal.settings',
  ]);
}