protected function MigrateNodeTest::setUp in Node Option Premium 8
Overrides MigrateDrupal7TestBase::setUp
File
- tests/
src/ Kernel/ Migrate/ MigrateNodeTest.php, line 39
Class
- MigrateNodeTest
- Tests node migration.
Namespace
Drupal\Tests\nopremium\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
// Add Nopremium D7 data.
$this
->loadFixture(__DIR__ . '/../../../fixtures/nopremium_d7.php');
$this
->fileMigrationSetup();
$this
->installEntitySchema('node');
$this
->installSchema('node', [
'node_access',
]);
$this
->installConfig([
'nopremium',
]);
$this
->migrateUsers();
$this
->migrateFields();
$this
->executeMigrations([
'd7_nopremium_node',
]);
}