9 calls to EntityResourceTestBase::getExpectedCacheContexts() in Drupal 9
- 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.
- EntityTestHalJsonInternalPropertyNormalizerTest::getExpectedCacheContexts in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonInternalPropertyNormalizerTest.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.
- MenuLinkContentHalJsonAnonTest::getExpectedCacheContexts in core/
modules/ menu_link_content/ tests/ src/ Functional/ Hal/ MenuLinkContentHalJsonAnonTest.php - The expected cache contexts for the GET/HEAD response of the test entity.
- ShortcutHalJsonAnonTest::getExpectedCacheContexts in core/
modules/ shortcut/ tests/ src/ Functional/ Hal/ ShortcutHalJsonAnonTest.php - The expected cache contexts for the GET/HEAD response of the test entity.