diff --git a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
index cb7353376c554ae728f0140e840ce409845c9b88..38fc3cc5c0c963e137cb281cbae18d80cfe15a02 100644
--- a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
@@ -237,7 +237,7 @@ public function testIsNewRevision() {
     $this->assertFalse($this->entity->isNewRevision());
     $this->assertTrue($this->entity->isNewRevision());
     $this->entity->setNewRevision(TRUE);
-    $this->assertTRUE($this->entity->isNewRevision());
+    $this->assertTrue($this->entity->isNewRevision());
   }
 
   /**