6 calls to EntityResourceTestBase::getExpectedCacheContexts()

CommentResourceTestBase::getExpectedCacheContexts in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
The expected cache contexts for the GET/HEAD response of the test entity.
ConfigurableLanguageResourceTestBase::getExpectedCacheContexts in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
The expected cache contexts for the GET/HEAD response of the test entity.
EntityResourceTestBase::testGet in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
Tests a GET request for an entity, plus edge cases to ensure good DX.
EntityTestComputedFieldNormalizerTest::getExpectedCacheContexts in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestJsonInternalPropertyNormalizerTest::getExpectedCacheContexts in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestTextItemNormalizerTest::getExpectedCacheContexts in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
The expected cache contexts for the GET/HEAD response of the test entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.