diff --git a/core/modules/field/lib/Drupal/field/Tests/FieldUUIDConflictTest.php b/core/modules/field/lib/Drupal/field/Tests/FieldUUIDConflictTest.php index 36f0605..8ff5182 100644 --- a/core/modules/field/lib/Drupal/field/Tests/FieldUUIDConflictTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/FieldUUIDConflictTest.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\field\Tests\FieldImportChangeTest. + * Contains \Drupal\field\Tests\FieldUUIDConflictTest. */ namespace Drupal\field\Tests; @@ -12,7 +12,7 @@ use Drupal\field\FieldException; /** - * Tests updating fields and instances as part of config import. + * Tests importing field data when the ID or UUID does not match existing data. */ class FieldUUIDConflictTest extends FieldUnitTestBase { @@ -45,13 +45,12 @@ public function setUp() { // Load the original field and instance entities. $this->original_field = entity_load('field_entity', $this->field_id); $this->original_instance = entity_load('field_instance', $this->instance_id); - } /** - * Tests importing an updated field instance. + * Tests importing fields and instances with changed IDs or UUIDs. */ - function testChangedUUID() { + function testUUIDConflict() { // Stage and attempt to import a changed field ID. $this->stageIDChange($this->field_id, 'field.field'); $this->assertNoImport();