You are here

public function DestinationCategoryTest::testD7Categories in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD7Categories()

Tests that all D7 migrations are tagged as either Configuration or Content.

File

core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php, line 58

Class

DestinationCategoryTest
Tests that all migrations are tagged as either content or configuration.

Namespace

Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate

Code

public function testD7Categories() {
  $migrations = $this
    ->drupal7Migrations();
  $this
    ->assertArrayHasKey('d7_node:page', $migrations);
  $this
    ->assertCategories($migrations);
}