protected function Drupal7MigrationTest::setUp in Video Embed Field 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/Drupal7MigrationTest.php \Drupal\Tests\video_embed_field\Kernel\Drupal7MigrationTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- tests/
src/ Kernel/ Drupal7MigrationTest.php, line 47
Class
- Drupal7MigrationTest
- Test the Drupal 7 to 8 video_embed_field migration.
Namespace
Drupal\Tests\video_embed_field\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installEntitySchema('comment');
$this
->installConfig(static::$modules);
$this
->executeMigrations([
'd7_user_role',
'd7_user',
'd7_node_type',
'd7_comment_type',
'd7_field',
'd7_field_instance',
'd7_node:page',
]);
}