protected function MigrateTrackerNodeTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/tracker/src/Tests/Migrate/d7/MigrateTrackerNodeTest.php \Drupal\tracker\Tests\Migrate\d7\MigrateTrackerNodeTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ tracker/ src/ Tests/ Migrate/ d7/ MigrateTrackerNodeTest.php, line 32 - Contains \Drupal\tracker\Tests\Migrate\d7\MigrateTrackerNodeTest.
Class
- MigrateTrackerNodeTest
- Tests migration of tracker_node.
Namespace
Drupal\tracker\Tests\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installConfig(static::$modules);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('tracker', [
'tracker_node',
'tracker_user',
]);
$this
->executeMigrations([
'd7_user_role',
'd7_user',
'd7_node_type',
'd7_node__test_content_type',
'd7_tracker_node',
]);
}