function MigrateRdfMappingTest::setUp

Same name in other branches
  1. 8.9.x core/modules/rdf/tests/src/Kernel/Migrate/d7/MigrateRdfMappingTest.php \Drupal\Tests\rdf\Kernel\Migrate\d7\MigrateRdfMappingTest::setUp()

Overrides MigrateDrupalTestBase::setUp

File

core/modules/rdf/tests/src/Kernel/Migrate/d7/MigrateRdfMappingTest.php, line 30

Class

MigrateRdfMappingTest
Tests RDF mappings migration from Drupal 7 to 8.

Namespace

Drupal\Tests\rdf\Kernel\Migrate\d7

Code

protected function setUp() : void {
    parent::setUp();
    $this->loadFixture(__DIR__ . '/../../../../fixtures/drupal7.php');
    $this->installConfig(static::$modules);
    $this->executeMigrations([
        'd7_node_type',
        'd7_taxonomy_vocabulary',
        'd7_rdf_mapping',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.