core/modules/node/tests/src/Functional/NodeCacheTagsTest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php b/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php index fc8cdf2..a767d97 100644 --- a/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php +++ b/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php @@ -41,16 +41,6 @@ protected function createEntity() { /** * {@inheritdoc} */ - protected function getDefaultCacheContexts() { - $defaults = parent::getDefaultCacheContexts(); - // @see \Drupal\Core\Entity\Controller\EntityViewController::view() - $defaults[] = 'user.roles:anonymous'; - return $defaults; - } - - /** - * {@inheritdoc} - */ protected function getAdditionalCacheContextsForEntity(EntityInterface $entity) { return ['timezone']; }