X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate_drupal%2Ftests%2Fsrc%2FKernel%2FCckFieldBackwardsCompatibilityTest.php;h=60e08e5a9e8e18632e18867781d06b8af764c594;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=11dceec733810a74758200481e1ed2dd2caa6d2f;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate_drupal/tests/src/Kernel/CckFieldBackwardsCompatibilityTest.php b/web/core/modules/migrate_drupal/tests/src/Kernel/CckFieldBackwardsCompatibilityTest.php index 11dceec73..60e08e5a9 100644 --- a/web/core/modules/migrate_drupal/tests/src/Kernel/CckFieldBackwardsCompatibilityTest.php +++ b/web/core/modules/migrate_drupal/tests/src/Kernel/CckFieldBackwardsCompatibilityTest.php @@ -2,28 +2,31 @@ namespace Drupal\Tests\migrate_drupal\Kernel; -use Drupal\migrate_field_plugin_manager_test\Plugin\migrate\cckfield\d6\FileField; +use Drupal\migrate_cckfield_plugin_manager_test\Plugin\migrate\cckfield\D6FileField; use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase; /** * @group migrate_drupal + * @group legacy */ class CckFieldBackwardsCompatibilityTest extends MigrateDrupal6TestBase { /** * {@inheritdoc} */ - public static $modules = ['file', 'migrate_field_plugin_manager_test']; + public static $modules = ['file', 'migrate_cckfield_plugin_manager_test']; /** * 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. */ public function testBackwardsCompatibility() { $migration = $this->container ->get('plugin.manager.migration') ->getDefinition('d6_node:story'); - $this->assertSame(FileField::class, $migration['process']['field_test_filefield']['class']); + $this->assertSame(D6FileField::class, $migration['process']['field_test_filefield']['class']); } }