diff --git a/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php b/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php index b5fd4e3..c8f38f7 100644 --- a/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php +++ b/core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php @@ -269,7 +269,7 @@ public function testDeleteFieldInstance() { 'mode' => 'teaser', ))->setComponent($field_name)->save(); - // Check the components exists. + // Check the component exists. $display = entity_get_display('entity_test', 'entity_test', 'default'); $this->assertTrue($display->getComponent($field_name)); $display = entity_get_display('entity_test', 'entity_test', 'teaser'); diff --git a/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php b/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php index 63e7927..79d2bf0 100644 --- a/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php +++ b/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php @@ -152,7 +152,7 @@ public function testDeleteFieldInstance() { 'mode' => 'compact', ))->setComponent($field_name)->save(); - // Check the components exists. + // Check the component exists. $display = entity_get_form_display('entity_test', 'entity_test', 'default'); $this->assertTrue($display->getComponent($field_name)); $display = entity_get_form_display('entity_test', 'entity_test', 'compact'); @@ -167,4 +167,5 @@ public function testDeleteFieldInstance() { $display = entity_get_form_display('entity_test', 'entity_test', 'compact'); $this->assertFalse($display->getComponent($field_name)); } + }