function MigrateNoMigrateDrupalTest::setUp

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()
  2. 10 core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()
  3. 11.x core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php, line 38

Class

MigrateNoMigrateDrupalTest
Execute migration.

Namespace

Drupal\Tests\migrate\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->createContentType([
        'type' => 'no_migrate_drupal',
    ]);
}

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