diff --git a/tests/Kernel/EntityRevisionLogTraitTest.php b/tests/Kernel/EntityRevisionLogTraitTest.php
index 7ca16a0a81b93fe81ea95cbab771fc6d98ec3a67..ae0203dffb1ca7c808be430bde0594542e9621f9 100644
--- a/tests/Kernel/EntityRevisionLogTraitTest.php
+++ b/tests/Kernel/EntityRevisionLogTraitTest.php
@@ -19,7 +19,7 @@ class EntityRevisionLogTraitTest extends KernelTestBase {
   /**
    * {@inheritdoc}
    */
-  public static $modules = ['entity', 'entity_test', 'user', 'system'];
+  public static $modules = ['entity', 'entity_module_test', 'user', 'system'];
 
   /**
    * {@inheritdoc}
diff --git a/tests/modules/entity_test/entity_test.info.yml b/tests/modules/entity_module_test/entity_module_test.info.yml
similarity index 100%
rename from tests/modules/entity_test/entity_test.info.yml
rename to tests/modules/entity_module_test/entity_module_test.info.yml
diff --git a/tests/modules/entity_test/src/Entity/EntityWithRevisionLog.php b/tests/modules/entity_module_test/src/Entity/EntityWithRevisionLog.php
similarity index 90%
rename from tests/modules/entity_test/src/Entity/EntityWithRevisionLog.php
rename to tests/modules/entity_module_test/src/Entity/EntityWithRevisionLog.php
index 82db3c9fab48afa8e628d08993ecafbd24b2a039..d44f34b623a6ae422bf56a07e93d8d5078dcb7b4 100644
--- a/tests/modules/entity_test/src/Entity/EntityWithRevisionLog.php
+++ b/tests/modules/entity_module_test/src/Entity/EntityWithRevisionLog.php
@@ -2,10 +2,10 @@
 
 /**
  * @file
- * Contains \Drupal\entity_test\Entity\EntityWithRevisionLog.
+ * Contains \Drupal\entity_module_test\Entity\EntityWithRevisionLog.
  */
 
-namespace Drupal\entity_test\Entity;
+namespace Drupal\entity_module_test\Entity;
 
 use Drupal\Core\Entity\ContentEntityBase;
 use Drupal\Core\Entity\EntityTypeInterface;