Mercurial > hg > isophonics-drupal-site
diff core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php Mon Apr 23 09:46:53 2018 +0100 @@ -21,9 +21,9 @@ parent::setUp(); $this->entity = new FieldConfig([ - 'field_name' => $this->fieldStorage->getName(), + 'field_name' => $this->entity->getName(), 'entity_type' => 'node', - 'fieldStorage' => $this->fieldStorage, + 'fieldStorage' => $this->entity, 'bundle' => 'test_bundle', 'field_type' => 'test_field', ], 'node');