From 054e05d06e3039d6105a413ea325d663d6acc073 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 11 Oct 2022 09:58:35 +0100
Subject: [PATCH] Issue #3314353 by immaculatexavier, dpi: EntityTestRev has
 duplicate view_builder annotation entries

---
 .../tests/modules/entity_test/src/Entity/EntityTestRev.php       | 1 -
 .../tests/modules/entity_test/src/Entity/EntityTestRevPub.php    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRev.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRev.php
index f51ce880580d..e47e93627671 100644
--- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRev.php
+++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRev.php
@@ -19,7 +19,6 @@
  *       "delete" = "Drupal\entity_test\EntityTestDeleteForm",
  *       "delete-multiple-confirm" = "Drupal\Core\Entity\Form\DeleteMultipleForm"
  *     },
- *     "view_builder" = "Drupal\entity_test\EntityTestViewBuilder",
  *     "views_data" = "Drupal\views\EntityViewsData",
  *     "route_provider" = {
  *       "html" = "Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider",
diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRevPub.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRevPub.php
index 175a6a02901d..3c3a201d589d 100644
--- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRevPub.php
+++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRevPub.php
@@ -20,7 +20,6 @@
  *       "delete" = "Drupal\entity_test\EntityTestDeleteForm",
  *       "delete-multiple-confirm" = "Drupal\Core\Entity\Form\DeleteMultipleForm"
  *     },
- *     "view_builder" = "Drupal\entity_test\EntityTestViewBuilder",
  *   },
  *   base_table = "entity_test_revpub",
  *   revision_table = "entity_test_revpub_revision",
-- 
GitLab