protected function MigrateNodeTest::setUp in Zircon Profile 8
Same name in this branch
- 8 core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php \Drupal\node\Tests\Migrate\d6\MigrateNodeTest::setUp()
- 8 core/modules/node/src/Tests/Migrate/d7/MigrateNodeTest.php \Drupal\node\Tests\Migrate\d7\MigrateNodeTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/node/src/Tests/Migrate/d6/MigrateNodeTest.php \Drupal\node\Tests\Migrate\d6\MigrateNodeTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateNodeTestBase::setUp
File
- core/
modules/ node/ src/ Tests/ Migrate/ d6/ MigrateNodeTest.php, line 24 - Contains \Drupal\node\Tests\Migrate\d6\MigrateNodeTest.
Class
- MigrateNodeTest
- Node content migration.
Namespace
Drupal\node\Tests\Migrate\d6Code
protected function setUp() {
parent::setUp();
$this
->executeMigrations([
'd6_node:*',
]);
// This is required for the second import below.
\Drupal::database()
->truncate(Migration::load('d6_node__story')
->getIdMap()
->mapTableName())
->execute();
}