Added test coverage.
Compare changes
@@ -8,6 +8,7 @@ use Drupal\Core\Config\TypedConfigManagerInterface;
@@ -77,13 +78,16 @@ class ConfigEntityReference extends FieldTargetBase implements ConfigurableTarge
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityTypeManagerInterface $entity_type_manager, EntityFinderInterface $entity_finder, TransliterationInterface $transliteration, TypedConfigManagerInterface $typed_config_manager, ?FieldTypePluginManagerInterface $field_type_plugin_manager = NULL) {
@@ -97,7 +101,8 @@ class ConfigEntityReference extends FieldTargetBase implements ConfigurableTarge