protected function MigrateCommentFieldInstanceTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Tests/Migrate/d7/MigrateCommentFieldInstanceTest.php \Drupal\comment\Tests\Migrate\d7\MigrateCommentFieldInstanceTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ comment/ src/ Tests/ Migrate/ d7/ MigrateCommentFieldInstanceTest.php, line 28 - Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentFieldInstanceTest.
Class
- MigrateCommentFieldInstanceTest
- 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',
'd7_comment_field_instance',
]);
}