diff --git a/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php b/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php index 79d2bf0..84bbe11 100644 --- a/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php +++ b/core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php @@ -129,7 +129,8 @@ public function testDeleteFieldInstance() { $field_name = 'test_field'; // Create a field and an instance. $field = entity_create('field_entity', array( - 'field_name' => $field_name, + 'name' => $field_name, + 'entity_type' => 'entity_test', 'type' => 'test_field' )); $field->save();