diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php index 181327b..0b5c1c0 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php @@ -455,7 +455,7 @@ function testEntityTranslationAPI() { // Check that per-language defaults are properly populated. $entity = $this->reloadEntity($entity); $instance_id = implode('.', array($entity->entityType(), $entity->bundle(), $this->field_name)); - $instance = $this->entityManager->getStorageController('field_instance')->load($instance_id); + $instance = $this->entityManager->getStorageController('field_instance_config')->load($instance_id); $instance['default_value_function'] = 'entity_test_field_default_value'; $instance->save(); $translation = $entity->addTranslation($langcode2);