protected function MigrateNodeCounterTest::setUp in Drupal 10
Same name in this branch
- 10 core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php \Drupal\Tests\statistics\Kernel\Migrate\d6\MigrateNodeCounterTest::setUp()
 - 10 core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php \Drupal\Tests\statistics\Kernel\Migrate\d7\MigrateNodeCounterTest::setUp()
 
Same name and namespace in other branches
- 8 core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php \Drupal\Tests\statistics\Kernel\Migrate\d6\MigrateNodeCounterTest::setUp()
 - 9 core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php \Drupal\Tests\statistics\Kernel\Migrate\d6\MigrateNodeCounterTest::setUp()
 
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ statistics/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeCounterTest.php, line 29  
Class
- MigrateNodeCounterTest
 - Tests the migration of node counter data to Drupal 8.
 
Namespace
Drupal\Tests\statistics\Kernel\Migrate\d6Code
protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig('node');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installSchema('statistics', [
    'node_counter',
  ]);
  $this
    ->executeMigrations([
    'language',
    'd6_filter_format',
    'd6_user_role',
    'd6_node_settings',
    'd6_user',
    'd6_node_type',
    'd6_language_content_settings',
    'd6_node',
    'd6_node_translation',
    'statistics_node_counter',
  ]);
}