protected function MigrateCommentFieldTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Tests/Migrate/d7/MigrateCommentFieldTest.php \Drupal\comment\Tests\Migrate\d7\MigrateCommentFieldTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ comment/ src/ Tests/ Migrate/ d7/ MigrateCommentFieldTest.php, line 27 - Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentFieldTest.
Class
- MigrateCommentFieldTest
- Tests creation of comment reference fields for each comment type defined in Drupal 7.
Namespace
Drupal\comment\Tests\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installConfig(static::$modules);
$this
->executeMigrations([
'd7_node_type',
'd7_comment_type',
'd7_comment_field',
]);
}