diff --git a/tests/modules/entity_embed_test/entity_embed_test.module b/tests/modules/entity_embed_test/entity_embed_test.module index eb2c37f..bd271c6 100644 --- a/tests/modules/entity_embed_test/entity_embed_test.module +++ b/tests/modules/entity_embed_test/entity_embed_test.module @@ -79,5 +79,5 @@ function entity_embed_test_entity_embed_alter(array &$build, EntityInterface $en * Implements hook_entity_access(). */ function entity_embed_test_entity_access(EntityInterface $entity, $operation, AccountInterface $account) { - return AccessResult::allowed()->addCacheTags(['foo:' . $entity->id()]); + return AccessResult::neutral()->addCacheTags(['foo:' . $entity->id()]); }