You are here

protected function MigrateDrupalTestBase::migrateContentTypes in Drupal 10

Migrates node types.

2 calls to MigrateDrupalTestBase::migrateContentTypes()
MigrateTrackerNodeTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerNodeTest.php
MigrateTrackerUserTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php

File

core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php, line 58

Class

MigrateDrupalTestBase
Base class for Tracker Drupal 7 migration tests.

Namespace

Drupal\Tests\tracker\Kernel\Migrate\d7

Code

protected function migrateContentTypes() {
  $this
    ->installConfig([
    'node',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->executeMigration('d7_node_type');
}