diff -u b/core/modules/system/src/Tests/Entity/EntityTranslationTest.php b/core/modules/system/src/Tests/Entity/EntityTranslationTest.php --- b/core/modules/system/src/Tests/Entity/EntityTranslationTest.php +++ b/core/modules/system/src/Tests/Entity/EntityTranslationTest.php @@ -869,13 +869,13 @@ $this->assertNull(\Drupal::state()->get('entity_test.delete.translatable_test_field')); $this->assertNull(\Drupal::state()->get('entity_test.delete.untranslatable_test_field')); - // Remove the second and third langcodes form the entity. + // Remove the second and third langcodes from the entity. $entity->removeTranslation('l1'); $entity->removeTranslation('l2'); $entity->save(); - // Ensure that for the translatable test field the second and third langcodes - // are in the deleted languages list. + // Ensure that for the translatable test field the second and third + // langcodes are in the deleted languages list. $actual = \Drupal::state()->get('entity_test.delete.translatable_test_field'); $expected_translatable = ['l1', 'l2']; $this->assertEqual($actual, $expected_translatable); @@ -891,7 +891,8 @@ $expected_translatable[] = 'l0'; $this->assertEqual($actual, $expected_translatable); - // The untranslatable field is shared and only deleted once, for the default lancode. + // The untranslatable field is shared and only deleted once, for the + // default lancode. $actual = \Drupal::state()->get('entity_test.delete.untranslatable_test_field'); $expected_untranslatable = ['en']; $this->assertEqual($actual, $expected_untranslatable);