diff --git a/core/tests/Drupal/Tests/EntityViewTrait.php b/core/tests/Drupal/Tests/EntityViewTrait.php
index 41581a5f306681b3a0c7365e1e04e9249eb215e3..e2891b9498dd45c8fda2f25a59cc32939c2b52eb 100644
--- a/core/tests/Drupal/Tests/EntityViewTrait.php
+++ b/core/tests/Drupal/Tests/EntityViewTrait.php
@@ -28,14 +28,12 @@ trait EntityViewTrait {
    * @param null $langcode
    *   (optional) For which language the entity should be prepared, defaults to
    *   the current content language.
-   * @param bool $reset
-   *   (optional) Whether to clear the cache for this entity.
    *
    * @return array
    *
    * @see \Drupal\Core\Render\RendererInterface::render()
    */
-  protected function buildEntityView(EntityInterface $entity, $view_mode = 'full', $langcode = NULL, $reset = FALSE) {
+  protected function buildEntityView(EntityInterface $entity, $view_mode = 'full', $langcode = NULL) {
     $ensure_fully_built = function (&$elements) use (&$ensure_fully_built) {
       // If the default values for this element have not been loaded yet, populate
       // them.
@@ -60,9 +58,6 @@ protected function buildEntityView(EntityInterface $entity, $view_mode = 'full',
     };
 
     $render_controller = $this->container->get('entity_type.manager')->getViewBuilder($entity->getEntityTypeId());
-    if ($reset) {
-      $render_controller->resetCache([$entity->id()]);
-    }
     $build = $render_controller->view($entity, $view_mode, $langcode);
     $ensure_fully_built($build);