diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
index fb69ccb34b14f197cbefec2710472011e7e4b568..809eb1b00192434f7105273ca0e9781497d7fb3c 100644
--- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
+++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
@@ -8,12 +8,17 @@
  * @ContentEntityType(
  *   id = "entity_test_no_label",
  *   label = @Translation("Entity Test without label"),
+ *   internal = TRUE,
  *   persistent_cache = FALSE,
  *   base_table = "entity_test_no_label",
+ *   handlers = {
+ *     "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
+ *   },
  *   entity_keys = {
  *     "id" = "id",
- *     "bundle" = "type"
- *   }
+ *     "uuid" = "uuid",
+ *     "bundle" = "type",
+ *   },
  * )
  */
 class EntityTestNoLabel extends EntityTest {