diff --git a/src/Form/StanfordMigrateCsvImportForm.php b/src/Form/StanfordMigrateCsvImportForm.php index 7bd9108..4361c63 100644 --- a/src/Form/StanfordMigrateCsvImportForm.php +++ b/src/Form/StanfordMigrateCsvImportForm.php @@ -53,6 +53,8 @@ public static function create(ContainerInterface $container) { * Core state service. * @param \Drupal\file\FileUsage\FileUsageInterface $fileUsage * File module usage service. + * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager + * Entity type manager service. */ public function __construct(protected MigrationPluginManagerInterface $migrationManager, protected StateInterface $state, protected FileUsageInterface $fileUsage, EntityTypeManagerInterface $entityTypeManager) { $this->entityTypeManager = $entityTypeManager; @@ -281,6 +283,8 @@ protected function fixLineBreaks($csv_path) { * Complete form. * @param \Drupal\Core\Form\FormStateInterface $form_state * Submitted form state. + * + * @codeCoverageIgnore Not really possible to unit test this. */ public function import(array $form, FormStateInterface $form_state) { // Invalidate the migration cache since the file is changing.