public function CckFieldBackwardsCompatibilityTest::testBackwardsCompatibility in Drupal 8
Ensures that the cckfield backwards compatibility layer is invoked.
@expectedDeprecation MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.
File
- core/
modules/ migrate_drupal/ tests/ src/ Kernel/ CckFieldBackwardsCompatibilityTest.php, line 24
Class
- CckFieldBackwardsCompatibilityTest
- @group migrate_drupal @group legacy
Namespace
Drupal\Tests\migrate_drupal\KernelCode
public function testBackwardsCompatibility() {
$migration = $this->container
->get('plugin.manager.migration')
->getDefinition('d6_node:story');
$this
->assertSame(D6FileField::class, $migration['process']['field_test_filefield']['class']);
}