diff --git a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php index bd87724cf2..eb4665251f 100644 --- a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php +++ b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to action.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateActionConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of action variables to action.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testActionSettings() { $config = $this->config('action.settings'); diff --git a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php index 928b3c9b81..7e1b6acb3a 100644 --- a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php +++ b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php @@ -9,6 +9,7 @@ * Tests migration of action items. * * @group migrate_drupal_6 + * @group legacy */ class MigrateActionsTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Test Drupal 6 action migration to Drupal 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. */ public function testActions() { // Test default actions. diff --git a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php index 47049f33c6..d5ff2c6557 100644 --- a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php +++ b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php @@ -9,6 +9,7 @@ * Tests migration of action items. * * @group action + * @group legacy */ class MigrateActionsTest extends MigrateDrupal7TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Test Drupal 7 action migration to Drupal 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testActions() { // Test default actions. diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorConfigsTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorConfigsTest.php index 280a103db8..3f1da6e31e 100644 --- a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorConfigsTest.php +++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to aggregator.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateAggregatorConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of aggregator variables to aggregator.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testAggregatorSettings() { $config = $this->config('aggregator.settings'); diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php index 9dac60faa8..c41da7074a 100644 --- a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php +++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorFeedTest.php @@ -9,6 +9,7 @@ * Tests migration of aggregator feeds. * * @group migrate_drupal_6 + * @group legacy */ class MigrateAggregatorFeedTest extends MigrateDrupal6TestBase { @@ -28,6 +29,8 @@ protected function setUp() { /** * Tests migration of aggregator feeds. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testAggregatorFeedImport() { /** @var \Drupal\aggregator\Entity\Feed $feed */ diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php index 5343d1e2de..2da0e0938c 100644 --- a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php +++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php @@ -9,6 +9,7 @@ * Tests migration of aggregator items. * * @group migrate_drupal_6 + * @group legacy */ class MigrateAggregatorItemTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Test Drupal 6 aggregator item migration to Drupal 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testAggregatorItem() { /** @var \Drupal\aggregator\Entity\Item $item */ diff --git a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockContentTranslationTest.php b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockContentTranslationTest.php index 4078782143..43517660d8 100644 --- a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockContentTranslationTest.php +++ b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockContentTranslationTest.php @@ -8,6 +8,7 @@ * Tests migration of i18n block translations. * * @group migrate_drupal_6 + * @group legacy */ class MigrateBlockContentTranslationTest extends MigrateDrupal6TestBase { @@ -53,6 +54,8 @@ protected function setUp() { /** * Tests the migration of block title translation. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBlockContentTranslation() { /** @var \Drupal\language\ConfigurableLanguageManagerInterface $language_manager */ diff --git a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php index e0876fd1e4..4566349bb1 100644 --- a/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php +++ b/core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php @@ -9,6 +9,7 @@ * Tests migration of blocks to configuration entities. * * @group migrate_drupal_6 + * @group legacy */ class MigrateBlockTest extends MigrateDrupal6TestBase { @@ -92,6 +93,8 @@ public function assertEntity($id, $visibility, $region, $theme, $weight, array $ /** * Tests the block migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBlockMigration() { $blocks = Block::loadMultiple(); diff --git a/core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php b/core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php index 6f07dc9c21..b3715b35b3 100644 --- a/core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php +++ b/core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php @@ -10,6 +10,7 @@ * Tests migration of blocks to configuration entities. * * @group block + * @group legacy */ class MigrateBlockTest extends MigrateDrupal7TestBase { @@ -108,6 +109,8 @@ public function assertEntity($id, $plugin_id, array $roles, $pages, $region, $th /** * Tests the block migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBlockMigration() { $this->assertEntity('bartik_system_main', 'system_main_block', [], '', 'content', 'bartik', 0, '', '0'); diff --git a/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php b/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php index 87e6fac893..0de950a12b 100644 --- a/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php +++ b/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php @@ -9,6 +9,7 @@ * Upgrade custom blocks. * * @group migrate_drupal_6 + * @group legacy */ class MigrateBlockContentTest extends MigrateDrupal6TestBase { @@ -35,6 +36,8 @@ protected function setUp() { /** * Tests the Drupal 6 custom block to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBlockMigration() { /** @var \Drupal\block_content\Entity\BlockContent $block */ diff --git a/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php b/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php index 2847e35d5e..24916c9f5f 100644 --- a/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php +++ b/core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php @@ -9,6 +9,7 @@ * Tests migration of i18n custom block strings. * * @group migrate_drupal_6 + * @group legacy */ class MigrateCustomBlockContentTranslationTest extends MigrateDrupal6TestBase { @@ -42,6 +43,8 @@ protected function setUp() { /** * Tests the Drupal 6 i18n custom block strings to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testCustomBlockContentTranslation() { /** @var \Drupal\block_content\Entity\BlockContent $block */ diff --git a/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php b/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php index 7498638455..40166fea3f 100644 --- a/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php +++ b/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to book.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateBookConfigsTest extends MigrateDrupal6TestBase { @@ -39,6 +40,8 @@ public function providerBookSettings() { * Tests migration of book variables to book.settings.yml. * * @dataProvider providerBookSettings + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBookSettings($migration_id) { $this->executeMigration($migration_id); diff --git a/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php b/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php index cab65e39c2..fb6b2578e3 100644 --- a/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php +++ b/core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php @@ -9,6 +9,7 @@ * Upgrade book structure. * * @group migrate_drupal_6 + * @group legacy */ class MigrateBookTest extends MigrateDrupal6TestBase { @@ -30,6 +31,8 @@ protected function setUp() { /** * Tests the Drupal 6 book structure to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBook() { $nodes = Node::loadMultiple([4, 5, 6, 7, 8]); diff --git a/core/modules/contact/tests/src/Kernel/Migrate/d6/MigrateContactSettingsTest.php b/core/modules/contact/tests/src/Kernel/Migrate/d6/MigrateContactSettingsTest.php index 073a670283..727c3a9f1d 100644 --- a/core/modules/contact/tests/src/Kernel/Migrate/d6/MigrateContactSettingsTest.php +++ b/core/modules/contact/tests/src/Kernel/Migrate/d6/MigrateContactSettingsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to contact.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateContactSettingsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of contact variables to contact.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testContactSettings() { $config = $this->config('contact.settings'); diff --git a/core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php b/core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php index 3e32406d28..804575a10c 100644 --- a/core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php +++ b/core/modules/content_translation/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTranslationTest.php @@ -10,6 +10,7 @@ * Test migration of translated taxonomy terms. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTaxonomyTermTranslationTest extends MigrateDrupal6TestBase { @@ -113,6 +114,8 @@ protected function assertHierarchy($vid, $tid, array $parent_ids) { /** * Tests the Drupal 6 i18n taxonomy term to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTranslatedTaxonomyTerms() { $this->assertEntity(1, 'zu', 'zu - term 1 of vocabulary 1', 'vocabulary_1_i_0_', 'zu - description of term 1 of vocabulary 1', NULL, '0', []); diff --git a/core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php b/core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php index 73a6d83d22..452d9a8fd4 100644 --- a/core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php +++ b/core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to dblog.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateDblogConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of dblog variables to dblog.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testBookSettings() { $config = $this->config('dblog.settings'); diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php index 7347c0470d..505e52c06f 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php @@ -9,6 +9,7 @@ * Upgrade field formatter settings to entity.display.*.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFieldFormatterSettingsTest extends MigrateDrupal6TestBase { @@ -40,6 +41,8 @@ protected function assertComponentNotExists($display_id, $component_id) { /** * Test that migrated entity display settings can be loaded using D8 API's. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testEntityDisplaySettings() { // Run tests. diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceTest.php index 6c4e29c4be..079b0ef6d6 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceTest.php @@ -11,6 +11,7 @@ * Migrate field instances. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFieldInstanceTest extends MigrateDrupal6TestBase { @@ -21,6 +22,8 @@ class MigrateFieldInstanceTest extends MigrateDrupal6TestBase { /** * Tests migration of file variables to file.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testFieldInstanceMigration() { $this->migrateFields(); @@ -165,6 +168,8 @@ public function testFieldInstanceMigration() { /** * Tests migrating fields into non-existent content types. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrateFieldIntoUnknownNodeType() { $this->sourceDatabase->delete('node_type') diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldTest.php index 6173a3a734..db404909d4 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldTest.php @@ -9,6 +9,7 @@ * Migrate fields. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFieldTest extends MigrateDrupal6TestBase { @@ -22,6 +23,8 @@ protected function setUp() { /** * Tests the Drupal 6 field to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testFields() { // Text field. diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php index c6f47fb1bd..f0b6316162 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php @@ -9,6 +9,7 @@ * Migrate field widget settings. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFieldWidgetSettingsTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Test that migrated view modes can be loaded using D8 API's. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testWidgetSettings() { // Test the config can be loaded. diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php index 0a7e9dcc0d..1de876bce8 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php @@ -10,6 +10,7 @@ * Tests migration of D7 view modes. * * @group field + * @group legacy */ class MigrateViewModesTest extends MigrateDrupal7TestBase { @@ -45,6 +46,8 @@ protected function assertEntity($id, $label, $entity_type) { /** * Tests migration of D7 view mode variables to D8 config entities. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $this->assertEntity('comment.full', 'Full', 'comment'); diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php index b069387cfc..3970138a1b 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php @@ -9,11 +9,14 @@ * Migrates and rolls back Drupal 7 view modes. * * @group field + * @group legacy */ class RollbackViewModesTest extends MigrateViewModesTest { /** * Tests migrating D7 view modes, then rolling back. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { // Test that the view modes have migrated (prior to rollback). diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileConfigsTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileConfigsTest.php index 6788d7c697..ce6b4d5ccd 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileConfigsTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to file.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFileConfigsTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests migration of file variables to file.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testFileSettings() { $config = $this->config('file.settings'); diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php index a3d4ba5e7c..ab066e8951 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php @@ -13,6 +13,7 @@ * Test file migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFileTest extends MigrateDrupal6TestBase implements MigrateDumpAlterInterface { @@ -63,6 +64,8 @@ protected function assertEntity($fid, $name, $size, $uri, $type, $uid) { /** * Tests the Drupal 6 files to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testFiles() { $this->assertEntity(1, 'Image1.png', '39325', 'public://image-1.png', 'image/png', '1'); diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityDisplayTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityDisplayTest.php index 164168312d..3237f558d0 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityDisplayTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityDisplayTest.php @@ -9,6 +9,7 @@ * Upload entity display. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUploadEntityDisplayTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests Drupal 6 upload settings to Drupal 8 entity display migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUploadEntityDisplay() { $this->executeMigration('d6_upload_entity_display'); @@ -52,6 +55,8 @@ public function testUploadEntityDisplay() { * * Entity displays should be ignored when they belong to node types which * were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNodeType() { // The "story" node type is migrated by d6_node_type but we need to pretend diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityFormDisplayTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityFormDisplayTest.php index 43a0ea6e47..b933414419 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityFormDisplayTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadEntityFormDisplayTest.php @@ -9,6 +9,7 @@ * Upload form entity display. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUploadEntityFormDisplayTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests Drupal 6 upload settings to Drupal 8 entity form display migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUploadEntityFormDisplay() { $this->executeMigration('d6_upload_entity_form_display'); @@ -52,6 +55,8 @@ public function testUploadEntityFormDisplay() { * * Entity displays should be ignored when they belong to node types which * were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNodeType() { // The "story" node type is migrated by d6_node_type but we need to pretend diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadFieldTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadFieldTest.php index 5032233873..550da9907d 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadFieldTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadFieldTest.php @@ -9,6 +9,7 @@ * Uploads migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUploadFieldTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests the Drupal 6 upload settings to Drupal 8 field migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUpload() { $field_storage = FieldStorageConfig::load('node.upload'); diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadInstanceTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadInstanceTest.php index bf5807e68e..cec075bbee 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadInstanceTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadInstanceTest.php @@ -9,6 +9,7 @@ * Upload field instance migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUploadInstanceTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests the Drupal 6 upload settings to Drupal 8 field instance migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUploadFieldInstance() { $field = FieldConfig::load('node.page.upload'); diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php index b8075030bd..e539f46325 100644 --- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php +++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php @@ -10,6 +10,7 @@ * Migrate association data between nodes and files. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUploadTest extends MigrateDrupal6TestBase { @@ -61,6 +62,8 @@ protected function setUp() { /** * Test upload migration from Drupal 6 to Drupal 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUpload() { $this->container->get('entity.manager') diff --git a/core/modules/filter/tests/src/Kernel/Migrate/d6/MigrateFilterFormatTest.php b/core/modules/filter/tests/src/Kernel/Migrate/d6/MigrateFilterFormatTest.php index 81faf3e517..61aa032e41 100644 --- a/core/modules/filter/tests/src/Kernel/Migrate/d6/MigrateFilterFormatTest.php +++ b/core/modules/filter/tests/src/Kernel/Migrate/d6/MigrateFilterFormatTest.php @@ -10,6 +10,7 @@ * Upgrade variables to filter.formats.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateFilterFormatTest extends MigrateDrupal6TestBase { @@ -23,6 +24,8 @@ protected function setUp() { /** * Tests the Drupal 6 filter format to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testFilterFormat() { $filter_format = FilterFormat::load('filtered_html'); diff --git a/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumConfigsTest.php b/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumConfigsTest.php index 302c3d1aee..ccc8797f1f 100644 --- a/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumConfigsTest.php +++ b/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to forum.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateForumConfigsTest extends MigrateDrupal6TestBase { @@ -30,6 +31,8 @@ protected function setUp() { /** * Tests migration of forum variables to forum.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testForumSettings() { $config = $this->config('forum.settings'); diff --git a/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php b/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php index 6f5d48c1dd..28a82f669c 100644 --- a/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php +++ b/core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php @@ -13,6 +13,7 @@ * Tests forum migration from Drupal 6 to Drupal 8. * * @group migrate_drupal_6 + * @group legacy */ class MigrateForumTest extends MigrateNodeTestBase { @@ -51,6 +52,8 @@ protected function setUp() { /** * Tests forum migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testForumMigration() { // Tests that the taxonomy_forums field storage config exists. diff --git a/core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php b/core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php index cd1c7fc3ea..fc45388347 100644 --- a/core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php +++ b/core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php @@ -8,6 +8,7 @@ * Tests migration of Forum's variables to configuration. * * @group forum + * @group legacy */ class MigrateForumSettingsTest extends MigrateDrupal7TestBase { @@ -33,6 +34,8 @@ protected function setUp() { /** * Tests the migration of Forum's settings to configuration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testForumSettingsMigration() { $config = $this->config('forum.settings'); diff --git a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php index e92685b845..2b3e1e1037 100644 --- a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php +++ b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php @@ -12,6 +12,7 @@ * Tests migration of ImageCache presets to image styles. * * @group image + * @group legacy */ class MigrateImageCacheTest extends MigrateDrupal6TestBase { @@ -25,6 +26,8 @@ protected function setUp() { /** * Tests that an exception is thrown when ImageCache is not installed. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMissingTable() { $this->sourceDatabase->update('system') @@ -48,6 +51,8 @@ public function testMissingTable() { /** * Test basic passing migrations. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testPassingMigration() { $this->executeMigration('d6_imagecache_presets'); @@ -85,6 +90,8 @@ public function testPassingMigration() { /** * Test that missing actions causes failures. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMissingEffectPlugin() { Database::getConnection('default', 'migrate')->insert("imagecache_action") @@ -118,6 +125,8 @@ public function testMissingEffectPlugin() { /** * Test that missing action's causes failures. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testInvalidCropValues() { Database::getConnection('default', 'migrate')->insert("imagecache_action") diff --git a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php index 7fc0b0bafb..354eb4f53e 100644 --- a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php +++ b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php @@ -13,6 +13,7 @@ * need to be migrated into D8. * * @group migrate_drupal_6 + * @group legacy */ class MigrateImageTest extends MigrateNodeTestBase { @@ -37,6 +38,8 @@ protected function setUp() { /** * Test image migration from Drupal 6 to 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNode() { $node = Node::load(9); diff --git a/core/modules/language/tests/src/Functional/Migrate/MigrateLanguageTest.php b/core/modules/language/tests/src/Functional/Migrate/MigrateLanguageTest.php index 9a2702da2b..5f457e7d7a 100644 --- a/core/modules/language/tests/src/Functional/Migrate/MigrateLanguageTest.php +++ b/core/modules/language/tests/src/Functional/Migrate/MigrateLanguageTest.php @@ -8,6 +8,7 @@ /** * @group migrate_drupal_6 + * @group legacy */ class MigrateLanguageTest extends MigrateDrupal6TestBase { @@ -41,6 +42,8 @@ protected function assertLanguage($id, $label, $direction = ConfigurableLanguage /** * Tests migration of Drupal 6 languages to configurable language entities. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageMigration() { $this->executeMigration('language'); diff --git a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php index e76b4553ee..337ac433e4 100644 --- a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php +++ b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php @@ -10,6 +10,7 @@ * Tests the default language variable migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateDefaultLanguageTest extends MigrateDrupal6TestBase { @@ -20,6 +21,8 @@ class MigrateDefaultLanguageTest extends MigrateDrupal6TestBase { /** * Tests language_default migration with an existing language. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrationWithExistingLanguage() { $this->setDefaultLanguage('fr'); @@ -34,6 +37,8 @@ public function testMigrationWithExistingLanguage() { /** * Tests language_default migration with a non-existing language. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrationWithNonExistentLanguage() { $this->setDefaultLanguage('tv'); @@ -53,6 +58,8 @@ public function testMigrationWithNonExistentLanguage() { /** * Tests language_default migration with unset default language variable. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrationWithUnsetVariable() { // Delete the language_default variable. diff --git a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php index 0148452dc9..551d8a6b52 100644 --- a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php +++ b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php @@ -11,6 +11,7 @@ * Tests migration of the ability to translate menu content. * * @group migrate_drupal_6 + * @group legacy */ class MigrateLanguageContentMenuSettingsTest extends MigrateDrupal6TestBase { @@ -36,6 +37,8 @@ protected function setUp() { /** * Tests migration of menu translation ability. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageMenuContent() { $config = ContentLanguageSettings::load('menu_link_content.menu_link_content'); diff --git a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php index 57439d588d..61707038de 100644 --- a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php +++ b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php @@ -10,6 +10,7 @@ * language_content_type_$type, i18n_node_options_* and i18n_lock_node_*. * * @group migrate_drupal_6 + * @group legacy */ class MigrateLanguageContentSettingsTest extends MigrateDrupal6TestBase { @@ -31,6 +32,8 @@ protected function setUp() { /** * Tests migration of content language settings. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageContent() { // Assert that a translatable content is still translatable. @@ -49,6 +52,8 @@ public function testLanguageContent() { /** * Tests migration of content language settings when there is no language lock. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageContentWithNoLanguageLock() { // Assert that a we can assign a language. diff --git a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php index 96bc4a0d8c..074a18dbb5 100644 --- a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php +++ b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php @@ -9,6 +9,7 @@ * Tests the migration of language negotiation and language types. * * @group migrate_drupal_6 + * @group legacy */ class MigrateLanguageNegotiationSettingsTest extends MigrateDrupal6TestBase { @@ -19,6 +20,8 @@ class MigrateLanguageNegotiationSettingsTest extends MigrateDrupal6TestBase { /** * Tests the migration with LANGUAGE_NEGOTIATION_PATH_DEFAULT. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageNegotiationWithDefaultPathPrefix() { $this->executeMigrations([ @@ -53,6 +56,8 @@ public function testLanguageNegotiationWithDefaultPathPrefix() { /** * Tests the migration with LANGUAGE_NEGOTIATION_NONE. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageNegotiationWithNoNegotiation() { $this->sourceDatabase->update('variable') @@ -85,6 +90,8 @@ public function testLanguageNegotiationWithNoNegotiation() { /** * Tests the migration with LANGUAGE_NEGOTIATION_PATH. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageNegotiationWithPathPrefix() { $this->sourceDatabase->update('variable') @@ -126,6 +133,8 @@ public function testLanguageNegotiationWithPathPrefix() { /** * Tests the migration with LANGUAGE_NEGOTIATION_DOMAIN. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLanguageNegotiationWithDomain() { $this->sourceDatabase->update('variable') diff --git a/core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php b/core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php index b4449184a3..00653987ac 100644 --- a/core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php +++ b/core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to locale.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateLocaleConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of locale variables to locale.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testLocaleSettings() { $config = $this->config('locale.settings'); diff --git a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php index 8fab083230..680de9fe4e 100644 --- a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php +++ b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php @@ -10,6 +10,7 @@ * Menu link migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateMenuLinkTest extends MigrateNodeTestBase { @@ -84,6 +85,8 @@ protected function assertEntity($id, $title, $menu, $description, $enabled, $exp /** * Tests migration of menu links. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMenuLinks() { $this->assertEntity('138', 'Test 1', 'secondary-links', 'Test menu link 1', TRUE, FALSE, ['attributes' => ['title' => 'Test menu link 1'], 'langcode' => 'en'], 'internal:/user/login', -50); diff --git a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php index 81f123ca84..68a658e0cf 100644 --- a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php +++ b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php @@ -9,6 +9,7 @@ * Menu link migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateMenuLinkTranslationTest extends MigrateDrupal6TestBase { @@ -41,6 +42,8 @@ protected function setUp() { /** * Tests migration of menu links. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMenuLinks() { /** @var \Drupal\menu_link_content\Entity\MenuLinkContent $menu_link */ diff --git a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php index e9913f6fa6..4359e938a1 100644 --- a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php +++ b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php @@ -11,6 +11,7 @@ * Menu link migration. * * @group menu_link_content + * @group legacy */ class MigrateMenuLinkTest extends MigrateDrupal7TestBase { const MENU_NAME = 'menu-test-menu'; @@ -96,6 +97,8 @@ protected function assertEntity($id, $title, $menu, $description, $enabled, $exp /** * Tests migration of menu links. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMenuLinks() { $this->assertEntity(469, 'Bing', static::MENU_NAME, 'Bing', TRUE, FALSE, ['attributes' => ['title' => 'Bing']], 'http://bing.com', 0); diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php index a4deaa25cf..bf517f68cf 100644 --- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php +++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php @@ -9,6 +9,7 @@ * * @group migrate_drupal_6 * @group migrate_drupal_ui + * @group legacy */ class MigrateUpgrade6I18nReviewPageTest extends MigrateUpgradeI18nReviewPageTestBase { diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php index e07e8bf211..28b6ec30b5 100644 --- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php +++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php @@ -10,6 +10,7 @@ * The test method is provided by the MigrateUpgradeTestBase class. * * @group migrate_drupal_ui + * @group legacy */ class MigrateUpgrade6NoMultilingualTest extends MigrateUpgradeExecuteTestBase { @@ -176,6 +177,8 @@ protected function getMissingPaths() { /** * {@inheritdoc} + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrateUpgradeExecute() { $connection_options = $this->sourceDatabase->getConnectionOptions(); diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php index 23345792ac..8e1bcf063f 100644 --- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php +++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php @@ -12,6 +12,7 @@ * The test method is provided by the MigrateUpgradeTestBase class. * * @group migrate_drupal_ui + * @group legacy */ class MigrateUpgrade6Test extends MigrateUpgradeExecuteTestBase { @@ -186,6 +187,8 @@ protected function getMissingPaths() { /** * Executes all steps of migrations upgrade. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigrateUpgradeExecute() { parent::testMigrateUpgradeExecute(); diff --git a/core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php b/core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php index 4065278bcf..fb61f4ba97 100644 --- a/core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php +++ b/core/modules/node/tests/src/Functional/Migrate/d6/MigrateNodeRevisionTest.php @@ -8,6 +8,7 @@ * Node content revisions migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeRevisionTest extends MigrateNodeTestBase { @@ -26,6 +27,8 @@ protected function setUp() { /** * Test node revisions migration from Drupal 6 to 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNodeRevision() { $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2001); diff --git a/core/modules/node/tests/src/Functional/Migrate/d7/NodeMigrateDeriverTest.php b/core/modules/node/tests/src/Functional/Migrate/d7/NodeMigrateDeriverTest.php index 621cdb6d49..cb72ed822c 100644 --- a/core/modules/node/tests/src/Functional/Migrate/d7/NodeMigrateDeriverTest.php +++ b/core/modules/node/tests/src/Functional/Migrate/d7/NodeMigrateDeriverTest.php @@ -8,11 +8,15 @@ * Tests the d7_node node deriver. * * @group node + * @group legacy */ class NodeMigrateDeriverTest extends MigrateDrupal7TestBase { public static $modules = ['node']; + /** + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. + */ public function testBuilder() { $process = $this->getMigration('d7_node:test_content_type')->getProcess(); $this->assertIdentical('field_boolean', $process['field_boolean'][0]['source']); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php index 34c8dd3ddc..78ea93798f 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeBundleSettingsTest.php @@ -10,6 +10,7 @@ * Test migrating node settings into the base_field_bundle_override config entity. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeBundleSettingsTest extends MigrateDrupal6TestBase { @@ -42,6 +43,8 @@ protected function setUp() { /** * Tests Drupal 6 node type settings to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNodeBundleSettings() { // Test settings on test_page bundle. diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php index 8743284dca..67f4ac783f 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to node.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeConfigsTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests Drupal 6 node settings to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNodeSettings() { $config = $this->config('node.settings'); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php index 855209ec19..3e3c50a886 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php @@ -8,6 +8,7 @@ * Test D6NodeDeriver. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeDeriverTest extends MigrateDrupal6TestBase { /** @@ -27,6 +28,8 @@ public function setUp() { /** * Test node translation migrations with translation disabled. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNoTranslations() { // Without content_translation, there should be no translation migrations. @@ -37,6 +40,8 @@ public function testNoTranslations() { /** * Test node translation migrations with translation enabled. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTranslations() { // With content_translation, there should be translation migrations for diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php index e7eb008ae7..10a1b78d2e 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php @@ -7,6 +7,7 @@ /** * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeSettingPromoteTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests migration of the promote checkbox's settings. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $this->assertIdentical('Promoted to front page', BaseFieldOverride::load('node.article.promote')->label()); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php index afd2dc6ed7..d06f45791a 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php @@ -7,6 +7,7 @@ /** * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeSettingStatusTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests migration of the publishing status checkbox's settings. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $this->assertIdentical('Publishing status', BaseFieldOverride::load('node.article.status')->label()); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php index 58eeca33f6..f79f067fce 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php @@ -7,6 +7,7 @@ /** * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeSettingStickyTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests migration of the sticky checkbox's settings. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $this->assertIdentical('Sticky at the top of lists', BaseFieldOverride::load('node.article.sticky')->label()); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php index 700311c871..5845692e09 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php @@ -11,6 +11,7 @@ * Node content migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeTest extends MigrateNodeTestBase { @@ -44,6 +45,8 @@ protected function setUp() { /** * Test node migration from Drupal 6 to 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNode() { $node = Node::load(1); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTypeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTypeTest.php index f36aebda01..b32b09860a 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTypeTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTypeTest.php @@ -10,6 +10,7 @@ * Upgrade node types to node.type.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateNodeTypeTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests Drupal 6 node type to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNodeType() { $id_map = $this->getMigration('d6_node_type')->getIdMap(); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php index 83de9b0fd8..4a3f39c3e5 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php @@ -9,6 +9,7 @@ * Migrate view modes. * * @group migrate_drupal_6 + * @group legacy */ class MigrateViewModesTest extends MigrateDrupal6TestBase { @@ -22,6 +23,8 @@ protected function setUp() { /** * Tests Drupal 6 view modes to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testViewModes() { // Test a new view mode. diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php index dcae81b8c0..2aaf27cb76 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to node.settings config object. * * @group node + * @group legacy */ class MigrateNodeSettingsTest extends MigrateDrupal7TestBase { @@ -31,6 +32,8 @@ protected function setUp() { /** * Tests migration of node variables to node.settings config object. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testAggregatorSettings() { $config = $this->config('node.settings'); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php index da930ec684..55dbaa7a62 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php @@ -12,6 +12,7 @@ * Tests node migration. * * @group node + * @group legacy */ class MigrateNodeTest extends MigrateDrupal7TestBase { @@ -152,6 +153,8 @@ protected function assertRevision($id, $title, $uid, $log, $timestamp) { /** * Test node migration from Drupal 7 to 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNode() { $this->assertEntity(1, 'test_content_type', 'en', 'An English Node', '2', TRUE, '1421727515', '1441032132', TRUE, FALSE); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php index 0655631565..4c519df2c9 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php @@ -9,6 +9,7 @@ * Tests migration of the title field label for node types. * * @group node + * @group legacy */ class MigrateNodeTitleLabelTest extends MigrateDrupal7TestBase { @@ -41,6 +42,8 @@ protected function assertEntity($id, $label) { /** * Tests migration of node title field overrides. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $this->assertEntity('node.article.title', 'Title'); diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php index b16cd2550e..aedc2619d1 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTypeTest.php @@ -12,6 +12,7 @@ * Upgrade node types to node.type.*.yml. * * @group node + * @group legacy */ class MigrateNodeTypeTest extends MigrateDrupal7TestBase { @@ -70,6 +71,8 @@ protected function assertEntity($id, $label, $description, $help, $display_submi /** * Tests Drupal 7 node type to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testNodeType() { $expected_available_menus = ['main-menu']; diff --git a/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php b/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php index 28f22ecc95..0fb266ae94 100644 --- a/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php +++ b/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php @@ -10,6 +10,7 @@ * URL alias migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUrlAliasTest extends MigrateDrupal6TestBase { @@ -64,6 +65,8 @@ private function assertPath($pid, $conditions, $path) { /** * Test the url alias migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUrlAlias() { $id_map = $this->getMigration('d6_url_alias')->getIdMap(); @@ -122,6 +125,8 @@ public function testUrlAlias() { /** * Test the URL alias migration with translated nodes. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUrlAliasWithTranslatedNodes() { $alias_storage = $this->container->get('path.alias_storage'); diff --git a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php index b8d92e0c49..24a3f3979d 100644 --- a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php +++ b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php @@ -8,6 +8,7 @@ * Tests URL alias migration. * * @group path + * @group legacy */ class MigrateUrlAliasTest extends MigrateDrupal7TestBase { @@ -48,6 +49,8 @@ protected function setUp() { /** * Test the URL alias migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUrlAlias() { $alias_storage = $this->container->get('path.alias_storage'); @@ -69,6 +72,8 @@ public function testUrlAlias() { /** * Test the URL alias migration with translated nodes. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUrlAliasWithTranslatedNodes() { $alias_storage = $this->container->get('path.alias_storage'); diff --git a/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchPageTest.php b/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchPageTest.php index a70114a6a9..5676a3bb4b 100644 --- a/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchPageTest.php +++ b/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchPageTest.php @@ -10,6 +10,7 @@ * Upgrade search rank settings to search.page.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateSearchPageTest extends MigrateDrupal6TestBase { @@ -28,6 +29,8 @@ protected function setUp() { /** * Tests Drupal 6 search settings to Drupal 8 search page entity migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSearchPage() { $id = 'node_search'; diff --git a/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchSettingsTest.php b/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchSettingsTest.php index d28bbd824e..602aa537ff 100644 --- a/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchSettingsTest.php +++ b/core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchSettingsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to search.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateSearchSettingsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of search variables to search.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSearchSettings() { $config = $this->config('search.settings'); diff --git a/core/modules/simpletest/tests/src/Kernel/Migrate/d6/MigrateSimpletestConfigsTest.php b/core/modules/simpletest/tests/src/Kernel/Migrate/d6/MigrateSimpletestConfigsTest.php index f8f9ffb02c..3a8b869f16 100644 --- a/core/modules/simpletest/tests/src/Kernel/Migrate/d6/MigrateSimpletestConfigsTest.php +++ b/core/modules/simpletest/tests/src/Kernel/Migrate/d6/MigrateSimpletestConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to simpletest.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateSimpletestConfigsTest extends MigrateDrupal6TestBase { @@ -30,6 +31,8 @@ protected function setUp() { /** * Tests migration of simpletest variables to simpletest.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSimpletestSettings() { $config = $this->config('simpletest.settings'); diff --git a/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php b/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php index 29a35fb339..5fec9bc21c 100644 --- a/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php +++ b/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php @@ -8,6 +8,7 @@ * Tests the migration of node counter data to Drupal 8. * * @group statistics + * @group legacy */ class MigrateNodeCounterTest extends MigrateDrupal6TestBase { @@ -52,6 +53,8 @@ protected function setUp() { /** * Tests migration of node counter. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testStatisticsSettings() { $this->assertNodeCounter(1, 2, 0, 1421727536); diff --git a/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateStatisticsConfigsTest.php b/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateStatisticsConfigsTest.php index a9c18a733b..6f8fbc56ec 100644 --- a/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateStatisticsConfigsTest.php +++ b/core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateStatisticsConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to statistics.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateStatisticsConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of statistics variables to statistics.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testStatisticsSettings() { $config = $this->config('statistics.settings'); diff --git a/core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php b/core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php index 1401e60fd4..4196e85e83 100644 --- a/core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php +++ b/core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php @@ -8,6 +8,7 @@ * Tests the migration of node counter data to Drupal 8. * * @group statistics + * @group legacy */ class MigrateNodeCounterTest extends MigrateDrupal7TestBase { @@ -50,6 +51,8 @@ protected function setUp() { /** * Tests migration of node counter. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testStatisticsSettings() { $this->assertNodeCounter(1, 2, 0, 1421727536); diff --git a/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php b/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php index 935af8d8aa..fbe5ab6957 100644 --- a/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php +++ b/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to syslog.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateSyslogConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of syslog variables to syslog.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSyslogSettings() { $config = $this->config('syslog.settings'); diff --git a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php index b45a36050f..3b4a721c7b 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateDateFormatTest.php @@ -10,6 +10,7 @@ * Upgrade date formats to core.date_format.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateDateFormatTest extends MigrateDrupal6TestBase { @@ -23,6 +24,8 @@ protected function setUp() { /** * Tests the Drupal 6 date formats to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testDateFormats() { $short_date_format = DateFormat::load('short'); diff --git a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php index 51c9377893..42fd6f362f 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php @@ -10,6 +10,7 @@ * Upgrade menus to system.menu.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateMenuTest extends MigrateDrupal6TestBase { @@ -23,6 +24,8 @@ protected function setUp() { /** * Tests the Drupal 6 menu to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMenu() { $navigation_menu = Menu::load('navigation'); diff --git a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php index 33c963de3c..30c47bd99f 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php @@ -8,6 +8,7 @@ * Migrates various configuration objects owned by the System module. * * @group migrate_drupal_6 + * @group legacy */ class MigrateSystemConfigurationTest extends MigrateDrupal6TestBase { @@ -147,6 +148,8 @@ protected function setUp() { /** * Tests that all expected configuration gets migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testConfigurationMigration() { foreach ($this->expectedConfig as $config_id => $values) { diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php index 92ebe5926a..c9e5065792 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to taxonomy.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTaxonomyConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of taxonomy variables to taxonomy.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTaxonomySettings() { $config = $this->config('taxonomy.settings'); diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php index 75c79241e0..33841788d3 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyTermTest.php @@ -9,6 +9,7 @@ * Upgrade taxonomy terms. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTaxonomyTermTest extends MigrateDrupal6TestBase { @@ -28,6 +29,8 @@ protected function setUp() { /** * Tests the Drupal 6 taxonomy term to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTaxonomyTerms() { $expected_results = [ diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php index 1584c5cc73..b483961a53 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php @@ -9,6 +9,7 @@ * Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTaxonomyVocabularyTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests the Drupal 6 taxonomy vocabularies to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTaxonomyVocabulary() { for ($i = 0; $i < 3; $i++) { diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTranslationTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTranslationTest.php index 9d7176c497..4c5ee1d9aa 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTranslationTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTranslationTest.php @@ -8,6 +8,7 @@ * Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTaxonomyVocabularyTranslationTest extends MigrateDrupal6TestBase { @@ -35,6 +36,8 @@ protected function setUp() { /** * Tests the Drupal 6 i18n taxonomy vocabularies to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTaxonomyVocabularyTranslation() { $language_manager = \Drupal::service('language_manager'); diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php index 25544486ab..5c19559523 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php @@ -8,6 +8,7 @@ * Upgrade taxonomy term node associations. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTermNodeRevisionTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests the Drupal 6 term-node revision association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTermRevisionNode() { $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2001); diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTest.php index 8e7d13de0e..901600019d 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTest.php @@ -9,6 +9,7 @@ * Upgrade taxonomy term node associations. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTermNodeTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests the Drupal 6 term-node association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTermNode() { // This is a base plugin id and we want to run all derivatives. @@ -51,6 +54,8 @@ public function testTermNode() { /** * Tests that term associations are ignored when they belong to nodes which * were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNode() { // Node 2 is migrated by d6_node__story, but we need to pretend that it diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php index 6b6ee945c6..be4c7508cb 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php @@ -9,6 +9,7 @@ * Vocabulary entity display migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateVocabularyEntityDisplayTest extends MigrateDrupal6TestBase { @@ -36,6 +37,8 @@ protected function setUp() { /** * Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testVocabularyEntityDisplay() { $this->executeMigration('d6_vocabulary_entity_display'); @@ -58,6 +61,8 @@ public function testVocabularyEntityDisplay() { * * Vocabulary displays should be ignored when they belong to node types which * were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNodeType() { // The "story" node type is migrated by d6_node_type but we need to pretend diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php index 7cfc306a98..12823aaa63 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityFormDisplayTest.php @@ -9,6 +9,7 @@ * Vocabulary entity form display migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateVocabularyEntityFormDisplayTest extends MigrateDrupal6TestBase { @@ -36,6 +37,8 @@ protected function setUp() { /** * Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testVocabularyEntityFormDisplay() { $this->executeMigration('d6_vocabulary_entity_form_display'); @@ -63,6 +66,8 @@ public function testVocabularyEntityFormDisplay() { * * Vocabulary displays should be ignored when they belong to node types which * were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNodeType() { // The "story" node type is migrated by d6_node_type but we need to pretend diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php index 77cb3e9069..7d3f0fb216 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php @@ -9,6 +9,7 @@ * Vocabulary field instance migration. * * @group migrate_drupal_6 + * @group local */ class MigrateVocabularyFieldInstanceTest extends MigrateDrupal6TestBase { @@ -35,6 +36,8 @@ protected function setUp() { /** * Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testVocabularyFieldInstance() { $this->executeMigration('d6_vocabulary_field_instance'); @@ -76,6 +79,8 @@ public function testVocabularyFieldInstance() { * * Vocabulary field instances should be ignored when they belong to node * types which were not migrated. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testSkipNonExistentNodeType() { // The "story" node type is migrated by d6_node_type but we need to pretend diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldTest.php index fa5c7f3a16..206d789999 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldTest.php @@ -9,6 +9,7 @@ * Vocabulary field migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateVocabularyFieldTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testVocabularyField() { // Test that the field exists. diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php index e8c6fefa8b..109a829e95 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php @@ -11,6 +11,7 @@ /** * @group taxonomy + * @group legacy */ class MigrateNodeTaxonomyTest extends MigrateDrupal7TestBase { @@ -68,6 +69,8 @@ protected function setUp() { /** * Test node migration from Drupal 7 to 8. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testMigration() { $node = Node::load(2); diff --git a/core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php b/core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php index 05b37085e6..8ac51d56da 100644 --- a/core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php +++ b/core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to text.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateTextConfigsTest extends MigrateDrupal6TestBase { @@ -24,6 +25,8 @@ protected function setUp() { /** * Tests migration of text variables to text.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testTextSettings() { $config = $this->config('text.settings'); diff --git a/core/modules/update/tests/src/Kernel/Migrate/d6/MigrateUpdateConfigsTest.php b/core/modules/update/tests/src/Kernel/Migrate/d6/MigrateUpdateConfigsTest.php index aa3563c608..872d9db43f 100644 --- a/core/modules/update/tests/src/Kernel/Migrate/d6/MigrateUpdateConfigsTest.php +++ b/core/modules/update/tests/src/Kernel/Migrate/d6/MigrateUpdateConfigsTest.php @@ -9,6 +9,7 @@ * Upgrade variables to update.settings.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUpdateConfigsTest extends MigrateDrupal6TestBase { @@ -29,6 +30,8 @@ protected function setUp() { /** * Tests migration of update variables to update.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUpdateSettings() { $config = $this->config('update.settings'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityDisplayTest.php b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityDisplayTest.php index ac7c181b5f..5905fb1d89 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityDisplayTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityDisplayTest.php @@ -9,6 +9,7 @@ * Tests the user profile entity display migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserProfileEntityDisplayTest extends MigrateDrupal6TestBase { @@ -26,6 +27,8 @@ protected function setUp() { /** * Tests migration of user profile fields. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserProfileFields() { $display = EntityViewDisplay::load('user.user.default'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityFormDisplayTest.php b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityFormDisplayTest.php index 2fcec8dabb..3a46bb0e9f 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityFormDisplayTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileEntityFormDisplayTest.php @@ -9,6 +9,7 @@ * Tests the user profile entity form display migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserProfileEntityFormDisplayTest extends MigrateDrupal6TestBase { @@ -26,6 +27,8 @@ protected function setUp() { /** * Tests migration of user profile fields. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserProfileEntityFormDisplay() { $display = EntityFormDisplay::load('user.user.default'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldInstanceTest.php b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldInstanceTest.php index ecc9bc9651..7846296b18 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldInstanceTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldInstanceTest.php @@ -9,6 +9,7 @@ * Tests the user profile field instance migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserProfileFieldInstanceTest extends MigrateDrupal6TestBase { @@ -30,6 +31,8 @@ protected function setUp() { /** * Tests migration of user profile fields. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserProfileFields() { // Migrated a text field. diff --git a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldTest.php b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldTest.php index 75bccf14be..8b9ffb109e 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/MigrateUserProfileFieldTest.php @@ -9,6 +9,7 @@ * Tests the user profile field migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserProfileFieldTest extends MigrateDrupal6TestBase { @@ -22,6 +23,8 @@ protected function setUp() { /** * Tests migration of user profile fields. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserProfileFields() { // Migrated a text field. diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php index eed2be8e79..18d41f1efa 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php @@ -11,6 +11,7 @@ * Upgrade variables to user.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserConfigsTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests migration of user variables to user.mail.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserMail() { $config = $this->config('user.mail'); @@ -50,6 +53,8 @@ public function testUserMail() { /** * Tests migration of user variables to user.settings.yml. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserSettings() { $config = $this->config('user.settings'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserContactSettingsTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserContactSettingsTest.php index fcdaa25426..2aa3c7cfff 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserContactSettingsTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserContactSettingsTest.php @@ -8,6 +8,7 @@ * Users contact settings migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserContactSettingsTest extends MigrateDrupal6TestBase { @@ -28,6 +29,8 @@ protected function setUp() { /** * Tests the Drupal6 user contact settings migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserContactSettings() { $user_data = \Drupal::service('user.data'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php index 1bef3702bd..053dce6f88 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php @@ -11,6 +11,7 @@ * User pictures migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserPictureD6FileTest extends MigrateDrupal6TestBase { @@ -56,6 +57,8 @@ protected function assertEntity($fid, $name, $size, $uri, $type, $uid) { /** * Tests the D6 user pictures migration in combination with D6 file. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserPicturesWithD6File() { $this->assertEntity(1, 'image-test.jpg', '1901', 'public://image-test.jpg', 'image/jpeg', '2'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureFileTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureFileTest.php index 1d28e2a7dc..a27d753938 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureFileTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureFileTest.php @@ -10,6 +10,7 @@ * User pictures migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserPictureFileTest extends MigrateDrupal6TestBase { @@ -27,6 +28,8 @@ protected function setUp() { /** * Tests the Drupal 6 user pictures to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserPictures() { $file_ids = []; diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserProfileValuesTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserProfileValuesTest.php index 71acad69f2..3c57331b77 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserProfileValuesTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserProfileValuesTest.php @@ -9,6 +9,7 @@ * User profile values migration. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserProfileValuesTest extends MigrateDrupal6TestBase { @@ -36,6 +37,8 @@ protected function setUp() { /** * Tests Drupal 6 profile values to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserProfileValues() { $user = User::load(2); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php index 0ca7f091a2..6231145c7e 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserRoleTest.php @@ -11,6 +11,7 @@ * Upgrade user roles to user.role.*.yml. * * @group migrate_drupal_6 + * @group legacy */ class MigrateUserRoleTest extends MigrateDrupal6TestBase { @@ -114,6 +115,8 @@ protected function assertRoles(MigrateIdMapInterface $id_map) { /** * Tests user role migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserRole() { $id_map = $this->getMigration('d6_user_role')->getIdMap(); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php index 7564fceeca..87cc6e58f1 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php @@ -14,6 +14,7 @@ * Users migration. * * @group user + * @group legacy */ class MigrateUserTest extends MigrateDrupal7TestBase { @@ -157,6 +158,8 @@ protected function assertEntity($id, $label, $mail, $password, $created, $access /** * Tests the Drupal 7 user to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUser() { $users = Database::getConnection('default', 'migrate') @@ -242,6 +245,8 @@ public function testUser() { /** * Tests the Drupal 7 user entity translations to Drupal 8 migration. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testUserEntityTranslations() { $manager = $this->container->get('content_translation.manager'); diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php index 85f0688d96..91e6808587 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php @@ -8,6 +8,7 @@ * Tests the user migration plugin class. * * @group user + * @group legacy */ class UserMigrationClassTest extends MigrateDrupal7TestBase { @@ -16,6 +17,8 @@ class UserMigrationClassTest extends MigrateDrupal7TestBase { * * Ensures profile fields are merged into the d6_profile_values migration's * process pipeline. + * + * @expectedDeprecation MigrateCckField is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. */ public function testClass() { $migration = $this->getMigration('d7_user');