in #2861383: Rename i18n migrations to _translation The Drupal\migrate_drupal\Plugin\migrate\source\d6\i18nVariable source plugin was deprecated and replaced with Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation. When this happened, the unit source test for i18nTranslation was copied for VariableTranslation, but the kernel source test at Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\d6\i18nVariableTest was not.

In #2791119: Write meaningful Migrate source tests It was decided that the unit tests for sources were insufficient and the kernel tests are preferred, so Variable Translation should have a kernel test extending Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase. The existing i18nTranslation test can likely be copied and renamed.

Comments

mikelutz created an issue. See original summary.

quietone’s picture