diff --git a/tests/src/Kernel/Migrate/d7/MigrateMetatagTest.php b/tests/src/Kernel/Migrate/d7/MigrateMetatagTest.php index 280256d..e7e335a 100644 --- a/tests/src/Kernel/Migrate/d7/MigrateMetatagTest.php +++ b/tests/src/Kernel/Migrate/d7/MigrateMetatagTest.php @@ -20,8 +20,10 @@ class MigrateMetatagTest extends MigrateDrupal7TestBase { use FileMigrationSetupTrait; + /** + * {@inheritdoc} + */ static $modules = [ - 'metatag', 'comment', 'datetime', 'filter', @@ -32,6 +34,8 @@ class MigrateMetatagTest extends MigrateDrupal7TestBase { 'taxonomy', 'telephone', 'text', + // This module. + 'metatag', ]; /** @@ -47,6 +51,7 @@ protected function setUp() { $this->installConfig(static::$modules); $this->installSchema('node', ['node_access']); $this->installSchema('system', ['sequences']); + $this->installEntitySchema('metatag'); $this->executeMigrations([ 'd7_metatag_field', @@ -97,4 +102,5 @@ public function testMetatag() { $this->assertTrue($term->hasField('field_metatag')); $this->assertSame('a:1:{s:8:"keywords";a:1:{s:5:"value";s:12:"keytaxonomy2";}}', $term->field_metatag->value); } + }